Skip to content

changed self.$cbx.on click #11

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

Closed
wants to merge 1 commit into from
Closed

changed self.$cbx.on click #11

wants to merge 1 commit into from

Conversation

dariuszwrzesien
Copy link

I had some issue when I try to use 'threeState: false'.
In order to reproduce it - try remove all buttons from example (index.html) except:

and remove also scripts - leave only
$el.checkboxX({'threeState': false, enclosedLabel: true});
In that case button doesn't work properly.
If I miss something pls let me know.
But I found when I add true to:
self.$cbx.on('click', function(e) {
if (!options.enclosedLabel) {
self.change(true);
}
});

everything works fine.
Best regards

@kartik-v
Copy link
Owner

Check updated release v1.5.0

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

Successfully merging this pull request may close these issues.

2 participants