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

Too much recursion when opened hidden #9

Closed
KoenPasman opened this issue Aug 9, 2013 · 2 comments
Closed

Too much recursion when opened hidden #9

KoenPasman opened this issue Aug 9, 2013 · 2 comments
Assignees

Comments

@KoenPasman
Copy link

Hi there,

When I use the plugin on my responsive site, I hide the newsticker for mobile devices. This results in a 'too much recursion' error being thrown in Firefox when I load the page, the ticker then doesn't function when I resize my window to a size where the ticker is visible.

Any ideas how to fix this?

@aamirafridi
Copy link
Owner

Not sure why you want to hide it. It will mess up all the calculations plugin do. Try visibility hidden instead of display none.

@ghost ghost assigned aamirafridi Aug 16, 2013
@KoenPasman
Copy link
Author

Well, I'm building a responsive site, and the design excludes the newsticker (made with this plugin) on the smallest version. But it should be there on larger versions. Setting visibility to hidden and height to 0 solves the problem though. Thanks a bunch.

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

No branches or pull requests

2 participants