Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the click handling for checkboxes inside labels; Move click handling into render function #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aAXEe
Copy link
Contributor

@aAXEe aAXEe commented Jan 10, 2016

This is an alternative to #75 and fixes #23.

From my point of view adding the click handlers inside the render function is better than in the defaults function (as suggested in #75). Additionally the code from #75 does not work for all cases.

Have a look at http://aaxee.github.io/bootstrap-toggle/ for a preview.
A toggle is triggered by clicking on the label or by clicking on the toggle-element.

@PingusPepan
Copy link

Works fine for me, why no merge yet?

@baronvertigovongrahamthesecondofsealand

Sad that this hasnt ever been merged, as it fixes the issue. Had to add the changes to a locally cached copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does not respond to click on checkbox' label
3 participants