adding toggle text to the off canvas menu toggle anchor tags
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 20 Aug 2018 16:26:53 +0000 (12:26 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 20 Aug 2018 16:26:53 +0000 (12:26 -0400)
js/app.js
js/custom/pageSetup.js

index a822ff9..8761892 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -11,7 +11,7 @@ var g=a(f(this.selector(c),a("<div></div>").html(c.attr("title")).html())),h=thi
 $(document).foundation();
 $(document).ready(function () {
     $('ul.children').each(function () {
-        $(this).before('<a class="toggle" href="#"></a>');
+        $(this).before('<a style="color: transparent;max-width: 17px;" class="toggle" href="#">toggle</a>');
     });
     $('a.toggle').click('click', function (e) {
         e.preventDefault();
index 433982b..7e53ef2 100644 (file)
@@ -2,7 +2,7 @@
 $(document).foundation();
 $(document).ready(function () {
     $('ul.children').each(function () {
-        $(this).before('<a class="toggle" href="#"></a>');
+        $(this).before('<a style="color: transparent;max-width: 17px;" class="toggle" href="#">toggle</a>');
     });
     $('a.toggle').click('click', function (e) {
         e.preventDefault();