Commit 949c7cca authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #8156 from baer/toggle-button-fix

Docs Customize toggle button used incorrect selectors
parents 47f8ba98 7f8703ef
5 merge requests!8635ignore Gruntfile.js in jekyll,!8339Fix broken links to navbar component in docs examples,!8656Added rel="stylesheet" to CDN-Examples,!8527Inner properties move 1,!8245Interactive color picker - Closed: request against wrong branch
Showing with 3 additions and 3 deletions
+3 -3
...@@ -63,10 +63,10 @@ ...@@ -63,10 +63,10 @@
// javascript build logic // javascript build logic
var inputsComponent = $("#less input") var inputsComponent = $("#less input")
, inputsPlugin = $("#plugins input") , inputsPlugin = $("#plugins input")
, inputsVariables = $("#variables input") , inputsVariables = $("#less-variables input")
// toggle all plugin checkboxes // toggle all plugin checkboxes
$('#components .toggle').on('click', function (e) { $('#less .toggle').on('click', function (e) {
e.preventDefault() e.preventDefault()
inputsComponent.prop('checked', !inputsComponent.is(':checked')) inputsComponent.prop('checked', !inputsComponent.is(':checked'))
}) })
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
inputsPlugin.prop('checked', !inputsPlugin.is(':checked')) inputsPlugin.prop('checked', !inputsPlugin.is(':checked'))
}) })
$('#variables .toggle').on('click', function (e) { $('#less-variables .toggle').on('click', function (e) {
e.preventDefault() e.preventDefault()
inputsVariables.val('') inputsVariables.val('')
}) })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment