Permalink
Browse files

Initialize the Joyride demo on the KitchenSink demo

  • Loading branch information...
1 parent 49a0b12 commit c0d9f8eb19222f4c5eb6e1b38c110b9d00b8b26f @ryanwachtl committed Mar 6, 2014
Showing with 6 additions and 1 deletion.
  1. +6 −1 javascript/app.js
View
@@ -1,3 +1,8 @@
// Foundation JavaScript
// Documentation can be found at: http://foundation.zurb.com/docs
-$(document).foundation();
+$(document).foundation();
+
+// trigger for joyride demo in KitchenSink demo
+$('#start-jr').on('click', function() {
+ $(document).foundation('joyride','start');
+});

0 comments on commit c0d9f8e

Please sign in to comment.