Open chasegiunta opened 7 years ago
+1 I got this error when i tried to use nivoLightbox with jQuery 3 in Rails 5.1 app.
jquery3.self-5af507e253c37e9c9dcf65064fc3f93795e6e28012780579975a4d709f4074ad.js?body=1:9858 Uncaught TypeError: Cannot read property 'indexOf' of undefined at jQuery.fn.init.jQuery.fn.load (jquery3.self-5af507e253c37e9c9dcf65064fc3f93795e6e28012780579975a4d709f4074ad.js?body=1:9858) at HTMLImageElement.<anonymous> (nivo-lightbox.self-30caad38f06863557b2f3280417acba4b29b70542fefd73eebe2c8230637b1e2.js?body=1:191) at Function.each (jquery3.self-5af507e253c37e9c9dcf65064fc3f93795e6e28012780579975a4d709f4074ad.js?body=1:355) at jQuery.fn.init.each (jquery3.self-5af507e253c37e9c9dcf65064fc3f93795e6e28012780579975a4d709f4074ad.js?body=1:190) at NivoLightbox.processContent (nivo-lightbox.self-30caad38f06863557b2f3280417acba4b29b70542fefd73eebe2c8230637b1e2.js?body=1:190) at NivoLightbox.showLightbox (nivo-lightbox.self-30caad38f06863557b2f3280417acba4b29b70542fefd73eebe2c8230637b1e2.js?body=1:92) at HTMLAnchorElement.<anonymous> (nivo-lightbox.self-30caad38f06863557b2f3280417acba4b29b70542fefd73eebe2c8230637b1e2.js?body=1:55) at HTMLAnchorElement.dispatch (jquery3.self-5af507e253c37e9c9dcf65064fc3f93795e6e28012780579975a4d709f4074ad.js?body=1:5184) at HTMLAnchorElement.elemData.handle (jquery3.self-5af507e253c37e9c9dcf65064fc3f93795e6e28012780579975a4d709f4074ad.js?body=1:4992)
I get
Uncaught TypeError: img.error is not a function
at NivoLightbox.processContent (nivo-lightbox.js:194)
at NivoLightbox.showLightbox (nivo-lightbox.js:92)
at HTMLAnchorElement.<anonymous> (nivo-lightbox.js:55)
at HTMLAnchorElement.dispatch (jquery.min.js:3)
at HTMLAnchorElement.y.handle (jquery.min.js:3)
I am also unable to use Nivo Lightbox with jQuery 3.
You get fun errors like
u.error is not a function