0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Docs Customize toggle button used incorrect selectors

This commit is contained in:
Eric Baer 2013-06-12 12:51:10 -06:00
parent 45c5b4e45c
commit 7f8703ef86

View File

@ -71,10 +71,10 @@
// 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('')
})