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

Update jquery.switchButton.js #21

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

Update jquery.switchButton.js #21

wants to merge 1 commit into from

Conversation

blacksheep-dev
Copy link

When added a callback, in options with ajax request.
The ajax for on_callback and off_callback was executed on switch init.

After my fix switch inits ok :) and callback are not executed until truely changed the state.

When added a callback, in options with ajax request.
The ajax for on_callback and off_callback was executed on switch init.

After my fix switch inits ok :) and callback are not executed until truely changed the state.
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.

1 participant