You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that it's on the jQuery object by running $.settings in the console.
This is causing weird behaviour, and will also cause a fight with any other jQuery plugin or website that tries to use $.settings (which they don't, because it's a really bad idea).
I think that it was probably an accident: the destroy function tries to remove the entire jQuery object, which probably isn't the intention! Luckily, you're using delete wrong so it doesn't work.
PR incoming 😄
The text was updated successfully, but these errors were encountered:
For some reason, you're storing the settings directly on the jQuery object. This is really bad design!
https://github.com/johnpolacek/scrollorama/blob/master/js/jquery.scrollorama.js#L11-L28
You can see that it's on the jQuery object by running
$.settings
in the console.This is causing weird behaviour, and will also cause a fight with any other jQuery plugin or website that tries to use
$.settings
(which they don't, because it's a really bad idea).I think that it was probably an accident: the destroy function tries to remove the entire jQuery object, which probably isn't the intention! Luckily, you're using
delete
wrong so it doesn't work.PR incoming 😄
The text was updated successfully, but these errors were encountered: