Staff replied Templates

Floox Template Off Canvas Menu (Mobile Menu) Don't Work

Asked by ccws 3 years ago Last activity 3 years ago

It has a main.js error
not sure why it don't work, have two website both on this do not work.

when I inspect element:


main.js:9 Uncaught TypeError: Cannot read properties of undefined (reading 'fn')
at main.js:9:3

3 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please check now. I just removed the code. Cause, No need this code. I have sovled the owl.carousel.min.js file.

-Thanks

ccws Asked this

which code and from where? as I have another site with same issue need to fix it myself

Toufiq Senior Staff

Removed old jquery compatibilty js code from main.js file top

// Jquery old code compatibility
$.fn.addBack = function () {
  return this.addBack.apply(this, arguments);
};

And open this file owl.carousel.min.js

Find out this code

andself

replace with this code

addBack

Log in to reply.