zurb/joyride — Issue #10: Joyride breaks on windows resize
Author: paul1664
Created: 2012-02-16 13:07:55+00:00
State: open

After Joyride has completed its ride, if I resize the browser window (IE9/Chrome) I get an error in the following code (around line 200)...

if (!settings.inline || !settings.cookieMonster || !$.cookie(settings.cookieName)) {
$(window).resize(function () {
var parentElementID = $(tipContent[prevCount]).data('id'),

...because prevCount > tipContent.length

I can put in a quick fix:

if (tipContent.length >= prevCount)
return;

but really requires underlying problem to be sorted.