Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

IE8 Issue with using addEventListener #1

Closed
leefroese opened this issue Jul 24, 2013 · 1 comment
Closed

IE8 Issue with using addEventListener #1

leefroese opened this issue Jul 24, 2013 · 1 comment

Comments

@leefroese
Copy link

The addEventListener method causes an error in IE8. I didn't care about having animations working in IE8 so I wrapped lines 34 & 35 in an if statement. Site now loads properly in IE8 and animations are working in modern browsers.

if (document.addEventListener){
document.addEventListener("touchmove", ScrollStart, false);
document.addEventListener("scroll", Scroll, false);
}

@davidhalford
Copy link
Owner

thanks for your addition. I'll add it when/if I revise the code.

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

2 participants