Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #870382

    jbbaille2
    Participant

    Hi Support!

    I get an error when I try to enqueue the Javascript file jquery-1.7.2.min.js:

    Uncaught TypeError: c.hoverIntent is not a function (from x-head.min.js)

    Do you know if it is possible to use this file with X theme? Thank you very much.

    #870707

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! I assume that you want to replace the default jQuery version. We do not recommend this. At Themeco, we always make sure that we follow the standards and will always utilize only the defaults in WordPress like the jQuery version. The reason is that we want X to work out with any plugins and avoid any conflict.

    Please be advised that revising the default jQuery version (which is 1.11.3) in X could potentially create incompatibility issues with WordPress and other plugins. The error itself if a sign that the issue now exists in your site since you have enqueued the older version of jQuery.

    Hope this helps.