Error loading background in PrestaShop when using homemodalwindow module

纵然是瞬间 提交于 2019-12-13 03:58:14

问题


When using the homemodalwindow popup module, there is an object which cant load in the background and all the background fails to load. Aparently the error is around here according to Google Chrome

<div class="fancybox-overlay fancybox-overlay-fixed" style="width: auto; height: auto; display: block;">
...
<div class="fancybox-inner" style="overflow: hidden; width: 500px; height: 100px;">

-----------
"Error: Failed to execute 'webkitMatchesSelector' on 'Element': ':hidden' is not a valid selector.
    at Function.m.matchesSelector (../TiendaN/js/jquery/jquery-1.7.2.min.js:3:25810)

回答1:


I maybe say something stupid but, did you tried to use a newer version of jquery (more than 1.7)?




回答2:


I had the same issue! I can not point to one thing that fixed it as I had a few issues going on. Here is the list of things that I did and eventually it was fixed for me:

  1. I had upgraded angularjs to 1.2.x.
  2. After I received the same error.
  3. Upgraded to jquery 1.11.x with the migration plugin!
  4. Added 'ngRoute' & 'ngSanitize' modules to my app as it was separated out with the Angular upgrade.
  5. Temporarily removed parsley.

I will try to post any more updates, just in case this would help someone else out.

Thanks!



来源:https://stackoverflow.com/questions/22404821/error-loading-background-in-prestashop-when-using-homemodalwindow-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!