Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed conflict between wow.js and jQuery Revolution Slider #88

Merged
merged 1 commit into from Jul 29, 2014
Merged

Fixed conflict between wow.js and jQuery Revolution Slider #88

merged 1 commit into from Jul 29, 2014

Conversation

ghost
Copy link

@ghost ghost commented Jul 12, 2014

When using WOW.js and jQuery Revolution Slider, if the latter has a caption with the data-splitin=words or data-splitin=chars property applied, a javascript error is reported in console as follows:
Uncaught TypeError: undefined is not a function wow.js:185
WOW.WOW.doSync wow.js:185
(anonymous function) wow.js:150
MutationObserver.observe.childList

Fixed by adding "if(element.nodeType !== 1) return;".

…Slider when the latter has a caption with the data-splitin=words or data-splitin=chars property applied.
@attilaolah
Copy link
Collaborator

OK, this makes perfect sense. Here is some reference so we have this documented why this needed to change.

I'll merge this but I have to change the coffeescript file instead. Thanks @lgrandicelli.

@attilaolah attilaolah merged commit 82325ee into matthieua:master Jul 29, 2014
@attilaolah
Copy link
Collaborator

Changes converted to CoffeeScript in 75465f2.

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

Successfully merging this pull request may close these issues.

1 participant