Support » Theme: Materialis » Issue: Use of deprecated jQuery function

  • simonfalun



    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 ( 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 (

    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?


Viewing 1 replies (of 1 total)
  • cristianbarbu



    Thanks for the suggestion, we will make this change in a future update, meanwhile jquery migration that is used in wordpress by default has backward compatibility for andSelf.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.