-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compatibility with jQuery 3 and remove some deprecated JS code
Frontend and backend JS code generated various warnings or fatal errors due to the deprecation of some functions in jQuery 3. The fatal errors made the plugin incompatible with WordPress 5.6. - Replaced jQuery mobile with Andrés Zsögön's jquery.events.swipe library for handling swipe events on mobile and mouse drag events on desktop. jQuery mobile is not compatible with jQuery 3, so it could no longer be used. - Replaced some jQuery functions that were still present in jQuery 3 but considered deprecated.
- Loading branch information
Showing
7 changed files
with
50 additions
and
29 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.