Explorar el Código

Update bootstrap-switch.js

Added missing '{' to line 152
Stein, Peter hace 11 años
padre
commit
284a8ecae5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');