fixed jQuery undefined error when target is hidden #62

Merged
merged 1 commit into from Jul 24, 2013

Conversation

Projects
None yet
3 participants
Contributor

kevinhamiltonsmith commented Jul 9, 2013

I was getting the error in the screenshot below in my single page app, when the DOM element attached to superscrollorama was hidden using jQuery. Stepping through the debugger, I isolated the issue. I added an object literal as a default value to account for this case.

screen shot 2013-07-09 at 12 25 53 pm

The repo where I initially made this change: https://github.com/gdi2290/RedditInsight

johnpolacek was assigned Jul 18, 2013

@janpaepke janpaepke added a commit that referenced this pull request Jul 24, 2013

@janpaepke janpaepke Merge pull request #62 from kevinhamiltonsmith/undefined-when-hidden
fixed jQuery undefined error when target is hidden
3c6f342

@janpaepke janpaepke merged commit 3c6f342 into johnpolacek:master Jul 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment