浏览代码

Update bootstrap-switch.js

Added missing '{' to line 152
Stein, Peter 11 年之前
父节点
当前提交
284a8ecae5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      static/js/bootstrap-switch.js

+ 1 - 1
static/js/bootstrap-switch.js

@@ -149,7 +149,7 @@
 
               $this.closest('div').removeClass('switch-animate');
 
-              if ($this.closest('.has-switch').is('.deactivate'))
+              if ($this.closest('.has-switch').is('.deactivate')) {
                 $this.unbind('click');
               } else if ( $this.closest('.switch-on').parent().is('.radio-no-uncheck') ) {
                 $this.unbind('click');