Browse Source

Merge pull request #27 from BdMdesigN/master

Update
Stein, Peter 11 years ago
parent
commit
8e31881657
3 changed files with 2 additions and 2 deletions
  1. 1 1
      component.json
  2. 1 1
      static/js/bootstrap-switch.js
  3. 0 0
      static/js/bootstrap-switch.min.js

+ 1 - 1
component.json

@@ -8,7 +8,7 @@
   ],
   ],
   "dependencies": {
   "dependencies": {
     "jquery": "~1.9.0"
     "jquery": "~1.9.0"
-  }
+  },
   "scripts": [
   "scripts": [
     "static/js/bootstrap-switch.js"
     "static/js/bootstrap-switch.js"
   ]
   ]

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

@@ -278,7 +278,7 @@
           , $form = $element.closest('form')
           , $form = $element.closest('form')
           , $inputbox;
           , $inputbox;
 
 
-        $div.find(':not(input[type!="hidden"])').remove();
+        $div.find(':not(inputSelector)').remove();
 
 
         $inputbox = $div.children();
         $inputbox = $div.children();
         $inputbox.unwrap().unwrap();
         $inputbox.unwrap().unwrap();

File diff suppressed because it is too large
+ 0 - 0
static/js/bootstrap-switch.min.js


Some files were not shown because too many files changed in this diff