问题
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:
- I had upgraded angularjs to 1.2.x.
- After I received the same error.
- Upgraded to jquery 1.11.x with the migration plugin!
- Added 'ngRoute' & 'ngSanitize' modules to my app as it was separated out with the Angular upgrade.
- 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