Issue: Use of deprecated jQuery function
-
Hi,
In the file wp-content\themes\materialis\assets\js\theme.bundle.min.js you are using the jQuery-function “.andSelf()” which was deprecated in jQuery 1.8 (https://api.jquery.com/andSelf/). This makes it impossible to use a more recent version of jQuery on the site since the mobile menu on first page won’t show up.
If you would replace it with .addBack() (added in jQuery 1.8) it would work (https://api.jquery.com/addBack/).I fixed the problem by a simple search and replace and everything seems to be working, but the fix will be reverted on every upgrade.
Is it possible that you’ll fix this?
/Simon
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Issue: Use of deprecated jQuery function’ is closed to new replies.