diff --git a/jquery.joyride-2.1.js b/jquery.joyride-2.1.js index 604edc6..72fb38d 100755 --- a/jquery.joyride-2.1.js +++ b/jquery.joyride-2.1.js @@ -825,6 +825,12 @@ end : function (isAborted) { isAborted = isAborted || false; + + // Unbind resize events. + if (isAborted) { + settings.$window.unbind('resize.joyride'); + } + if (settings.cookieMonster) { $.cookie(settings.cookieName, 'ridden', { expires: 365, domain: settings.cookieDomain, path: settings.cookiePath }); }