App.js updated
authorLaury GvR <laury@gaslightmedia.com>
Fri, 16 Jan 2015 17:24:41 +0000 (12:24 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 16 Jan 2015 17:24:41 +0000 (12:24 -0500)
js/app.js

index 8f0d401..255fb40 100755 (executable)
--- a/js/app.js
+++ b/js/app.js
@@ -16,4 +16,14 @@ e.breakpoint()&&(e.rtl?(g.css({right:"0%"}),a(">.name",g).css({right:"100%"})):(
             jQuery(this).attr("href",jQuery(this).children("img").attr("title"));
         });
     });
-    
\ No newline at end of file
+    ;$(document).foundation();
+$(document).ready(function () {
+    $('ul.children').each(function () {
+        $(this).before('<a class="toggle" href="#"></a>');
+    });
+    $('a.toggle').click('click', function () {
+        console.log('clicked me!');
+        $(this).toggleClass('open');
+        $(this).siblings('ul').toggleClass('open');
+    });
+});
\ No newline at end of file