]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs Customize toggle button used incorrect selectors 8156/head
authorEric Baer <eric.baer@readytalk.com>
Wed, 12 Jun 2013 18:51:10 +0000 (12:51 -0600)
committerEric Baer <eric.baer@readytalk.com>
Wed, 12 Jun 2013 18:51:10 +0000 (12:51 -0600)
docs/assets/js/application.js

index 30a7c0d6ebdd19d91bf9b2113ed378f0b48ef370..a1df067cf81855db6fd122f302882ae1375606c0 100644 (file)
     // javascript build logic
     var inputsComponent = $("#less input")
       , inputsPlugin = $("#plugins input")
-      , inputsVariables = $("#variables input")
+      , inputsVariables = $("#less-variables input")
 
     // toggle all plugin checkboxes
-    $('#components .toggle').on('click', function (e) {
+    $('#less .toggle').on('click', function (e) {
       e.preventDefault()
       inputsComponent.prop('checked', !inputsComponent.is(':checked'))
     })
@@ -84,7 +84,7 @@
       inputsPlugin.prop('checked', !inputsPlugin.is(':checked'))
     })
 
-    $('#variables .toggle').on('click', function (e) {
+    $('#less-variables .toggle').on('click', function (e) {
       e.preventDefault()
       inputsVariables.val('')
     })