Commit a1ae7f2c4672db664d346b605f1d8a48eb9377bf
1 parent
fc3a5852
多次请求
Showing
1 changed file
with
1 additions
and
1 deletions
src/gxb-ide/Iterm.js
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | }, | 20 | }, |
| 21 | events: function(){ | 21 | events: function(){ |
| 22 | var _this = this; | 22 | var _this = this; |
| 23 | - $('#CompileBtn').on('click', function(){ _this.compile(); }) | 23 | + $('#CompileBtn').unbind('click').on('click', function(){ _this.compile(); }) |
| 24 | $('#save_compile').on('click', function(){ _this.saveCompile(); }) | 24 | $('#save_compile').on('click', function(){ _this.saveCompile(); }) |
| 25 | $('#cancel_compile').on('click', function(){ _this.cancelCompile(); }) | 25 | $('#cancel_compile').on('click', function(){ _this.cancelCompile(); }) |
| 26 | $('#full-screen').on('click', function(){ _this.fullScreen(); }) | 26 | $('#full-screen').on('click', function(){ _this.fullScreen(); }) |