zurb / joyride

jQuery feature tour plugin.
http://www.zurb.com/playground/jquery-joyride-feature-tour-plugin
1.42k stars 241 forks source link

jQuery 1.4.4: buttons do not receive bind #205

Open loominade opened 8 years ago

loominade commented 8 years ago

The website says:

Updated to jQuery 1.8.2, supports 1.4.2 and up.

so I assume its also supposed to work with jQuery 1.4.4. (which is shipped with Drupal 7)

Unfortunately with jQuery 1.4.4. the joyride-next-tip and joyride-close-tip do not receive a bind. A click just jumps to the top of the page (because of the #).

No script is executed.

loominade commented 8 years ago

I found it that joyride is using .on() which was added in jQuery 1.7.

So you should ether change .on() to .bind() or change the min requirements to 1.7