Commit 6a19d481819287522ef80109247314bc9238276e

Authored by dlstatic
1 parent b9a26d1d

Delete event variable in function scope, cause it will get error when firefox.

Showing 1 changed file with 2 additions and 2 deletions
js/ui/F_checkbox.js
... ... @@ -28,7 +28,7 @@ define( 'F_checkbox' ,function( require, exports, module ){
28 28  
29 29 function _click(){
30 30 _cl(name.root).find(name.target).on({
31   - click: _switch(event, _this.process)
  31 + click: _switch(_this.process)
32 32 })
33 33 }
34 34  
... ... @@ -43,7 +43,7 @@ define( 'F_checkbox' ,function( require, exports, module ){
43 43 };
44 44  
45 45 function _switch(){
46   - var ev = Array.prototype.shift.call(arguments);
  46 + // var ev = Array.prototype.shift.call(arguments);
47 47 var statu = arguments[0];
48 48  
49 49 switch(statu){
... ...