zurb/foundation — pull request #2300 by niklam (2013-05-03 08:03:06+00:00)
Title: Remove tip guides on end

I have a couple of joyrides on my page and I launch them on different situations. I needed to remove existing tip guides to prevent old ones from showing when second joyride starts.

This tiny edit seems to fix the problem.

Code sample:

JS:
$(document).foundation();

function fire1() { $('#first').foundation('joyride', 'start', { ...settings... }); }

function fire2() { $('#second').foundation('joyride', 'start', { ...settings... }); }

HTML:

....

....