Error loading background in PrestaShop when using

2019-08-17 17:21发布

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)

2条回答
做自己的国王
2楼-- · 2019-08-17 17:32

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

查看更多
仙女界的扛把子
3楼-- · 2019-08-17 17:48

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 to 1.2.x.
  2. After I received the same error.
  3. Upgraded to 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 .

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

Thanks!

查看更多
登录 后发表回答