Explorar o código

fixed destroy method

fixed destroy method
Stein, Peter %!s(int64=11) %!d(string=hai) anos
pai
achega
0e58424599
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      static/js/bootstrap-switch.js

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

@@ -339,7 +339,7 @@
           , $form = $element.closest('form')
           , $inputbox;
 
-        $div.find(':not(inputSelector)').remove();
+        $div.find(':not(input)').remove();
 
         $inputbox = $div.children();
         $inputbox.unwrap().unwrap();