this.slideFn = window.setInterval(function() {
_this.showPanelNext();
- }, this);
+ }, this.timer);
}
},
cls : 'bullet bullet-' + i
},ctr.dom.lastChild);
+ var _this = this;
+
bullet.on('click', (function(e, el, o, ii, t){
e.preventDefault();
if(this.autoslide && this.slideFn){
clearInterval(this.slideFn);
this.slideFn = window.setInterval(function() {
- this.showPanelNext();
- }, this);
+ _this.showPanelNext();
+ }, this.timer);
}
}).createDelegate(this, [i, bullet], true));