Skip to content

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