Template:Team:HokkaidoU Japan/JS

From 2014.igem.org

(Difference between revisions)
Line 516: Line 516:
}
}
else if ( and (dir === 'next' , this.options.direction === 'ltr' )|| and(dir === 'prev' , this.options.direction === 'rtl' )) {
else if ( and (dir === 'next' , this.options.direction === 'ltr' )|| and(dir === 'prev' , this.options.direction === 'rtl' )) {
-
if (and( !this.options.circular , this.current === this.itemsCount - 1) ) {
+
if ( !this.options.circular && this.current === this.itemsCount - 1 ) {
this.end = true;
this.end = true;
}
}

Revision as of 10:07, 15 September 2014