Commit e3b4eb51 by doszhang

dos

parent 2729441a
......@@ -128,6 +128,7 @@
function _endEventHandler(event) {
event.preventDefault();
timerStatus = false;
clearInterval(timer);
if (this.opt.callback && typeof this.opt.callback === 'function') _calcArea.call(this,this.ctx, this.opt.callback, this.opt.ratio);
this.cover.removeEventListener(this.events[1],this.moveEventHandler,false);
document.removeEventListener(this.events[2],this.endEventHandler,false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment