grav-theme-woo icon indicating copy to clipboard operation
grav-theme-woo copied to clipboard

Lightbox function is not working.

Open pbt39ppc opened this issue 9 years ago • 8 comments
trafficstars

I get js error when clicking a image in modular _screenshots as follows: Uncaught TypeError: Cannot read property 'opener' of null The lightbox is stuck at loading and quitting the lightbox is not possible either. All versions is straight from the skelleton and woo theme master. Very much worth a look! Tested browsers is: Chrome v.50 .... And some more error info:

Ca @ jquery-2.x.min.js:3 Fa @ jquery-2.x.min.js:3 n.extend.css @ jquery-2.x.min.js:3 V @ jquery-2.x.min.js:3 Za @ jquery-2.x.min.js:3 _a @ jquery-2.x.min.js:3 g @ jquery-2.x.min.js:3 n.extend.dequeue @ jquery-2.x.min.js:3 (anonymous function) @ jquery-2.x.min.js:3 n.extend.each @ jquery-2.x.min.js:2 n.fn.n.each @ jquery-2.x.min.js:2 n.fn.extend.queue @ jquery-2.x.min.js:3 n.fn.extend.animate @ jquery-2.x.min.js:3 quitLightbox @ imagelightbox.js:242 quitImageLightbox @ imagelightbox.js:307 (anonymous function) @ main.js:186 n.event.dispatch @ jquery-2.x.min.js:3 r.handle @ jquery-2.x.min.js:3

pbt39ppc avatar May 15 '16 20:05 pbt39ppc

Can you replicate this on the demo http://demo.getgrav.org/woo-skeleton/? I could not, at a first glance.

flaviocopes avatar May 16 '16 07:05 flaviocopes

It was on the demo too. Many times. 16 мая 2016 г. 10:50 пользователь "Flavio Copes" [email protected] написал:

Can you replicate this on the demo? I could not, at a first glance.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/getgrav/grav-theme-woo/issues/2#issuecomment-219368788

pbt39ppc avatar May 16 '16 11:05 pbt39ppc

On the homepage? I don't get it with Chrome. Which browser are you using?

Il giorno lun 16 mag 2016 alle 13:43 pbt39ppc [email protected] ha scritto:

It was on the demo too. Many times. 16 мая 2016 г. 10:50 пользователь "Flavio Copes" <[email protected]

написал:

Can you replicate this on the demo? I could not, at a first glance.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub < https://github.com/getgrav/grav-theme-woo/issues/2#issuecomment-219368788>

— You are receiving this because you commented.

Reply to this email directly or view it on GitHub https://github.com/getgrav/grav-theme-woo/issues/2#issuecomment-219406497

flaviocopes avatar May 16 '16 12:05 flaviocopes

i have check http://demo.getgrav.org/woo-skeleton/ now, seems today its working. (did you cange something?) but when im uploading yesterday's zip atchive. then yes i can replicate it. With chrome 50.0.2661.102 @ in Windows 7

pbt39ppc avatar May 16 '16 13:05 pbt39ppc

Ok so now I can replicate it too, probably some timing-sensitive javascript thing

flaviocopes avatar May 16 '16 15:05 flaviocopes

Now I cannot replicate it any more. Kind of elusive problem, happens sometimes, sometimes not

flaviocopes avatar May 16 '16 16:05 flaviocopes

Had that too on Xampp. The solution was to replace system\assets\jquery\jquery-2.x.min.js by the last version of jQuery, jquery-2.2.3.min.js (renamed that file to jquery-2.x.min.js)

hleen avatar May 20 '16 16:05 hleen

jQuery 2.2.4 is included in Grav 1.1, so when we release it and update the skeleton deploy the problem should go away.

flaviocopes avatar Jun 06 '16 09:06 flaviocopes