Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Not compatible with jQuery 3 #67

Open
chasegiunta opened this issue Sep 27, 2016 · 3 comments
Open

Not compatible with jQuery 3 #67

chasegiunta opened this issue Sep 27, 2016 · 3 comments

Comments

@chasegiunta
Copy link

You get fun errors like
u.error is not a function

@bDrwx
Copy link

bDrwx commented Jun 21, 2018

+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)

@DeNelo
Copy link

DeNelo commented Nov 7, 2018

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)

@aaronfranke
Copy link

I am also unable to use Nivo Lightbox with jQuery 3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants