From: Laury GvR Date: Fri, 16 Jan 2015 17:24:41 +0000 (-0500) Subject: App.js updated X-Git-Tag: v1.0.1~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f62719625acd9566a277e014bb0b79e4c369c62e;p=WP-Themes%2FChippewaCounty.git App.js updated --- diff --git a/js/app.js b/js/app.js index 8f0d401..255fb40 100755 --- 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.toggle').click('click', function () { + console.log('clicked me!'); + $(this).toggleClass('open'); + $(this).siblings('ul').toggleClass('open'); + }); +}); \ No newline at end of file