Too much recursion when opened hidden #9

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

Projects

None yet

2 participants

@KoenPasman

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
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.

@aamirafridi aamirafridi was assigned Aug 16, 2013
@KoenPasman

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.

@KoenPasman KoenPasman closed this Aug 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment