From: Anthony Talarico Date: Mon, 20 Aug 2018 16:26:53 +0000 (-0400) Subject: adding toggle text to the off canvas menu toggle anchor tags X-Git-Tag: v1.0.0^2~56 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e29164354759dcaa4e0856619ca7a5ab4ec8fa62;p=WP-Themes%2Fcharemisd.git adding toggle text to the off canvas menu toggle anchor tags --- diff --git a/js/app.js b/js/app.js index a822ff9..8761892 100644 --- a/js/app.js +++ b/js/app.js @@ -11,7 +11,7 @@ var g=a(f(this.selector(c),a("
").html(c.attr("title")).html())),h=thi $(document).foundation(); $(document).ready(function () { $('ul.children').each(function () { - $(this).before(''); + $(this).before('toggle'); }); $('a.toggle').click('click', function (e) { e.preventDefault(); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 433982b..7e53ef2 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -2,7 +2,7 @@ $(document).foundation(); $(document).ready(function () { $('ul.children').each(function () { - $(this).before(''); + $(this).before('toggle'); }); $('a.toggle').click('click', function (e) { e.preventDefault();