-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix usages of jquery toggle function removed in v1.9.0
I've defined a jquery function called oldToggle closely based on the code in the jquery-migrate plugin [1] as recommended here [2]. I'm sure this code could be made a lot better, but this seems to fix my current problem. [1]: https://github.com/jquery/jquery-migrate/blob/1.x-stable/src/event.js#L72-L103 [2]: https://github.com/jquery/jquery-migrate/blob/1.x-stable/warnings.md#jqmigrate-jqueryfntogglehandler-handler-is-deprecated
- Loading branch information
1 parent
065d5dc
commit e6d2492
Showing
1 changed file
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters