##// END OF EJS Templates
fix click unbind...
Matthias BUSSONNIER -
Show More
@@ -58,12 +58,12 b' var IPython = (function (IPython) {'
58 this.element.click(function(){
58 this.element.click(function(){
59 if( callback() != false){
59 if( callback() != false){
60 that.element.fadeOut(100, function () {that.element.html('');});
60 that.element.fadeOut(100, function () {that.element.html('');});
61 that.element.unbind('click')
61 }
62 }
62 if (that.timeout !== undefined) {
63 if (that.timeout !== undefined) {
63 that.timeout = undefined
64 that.timeout = undefined
64 clearTimeout(that.timeout);
65 clearTimeout(that.timeout);
65 }
66 }
66 that.element.unbind('click')
67 });
67 });
68 }
68 }
69 };
69 };
General Comments 0
You need to be logged in to leave comments. Login now