Update mobile menu
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Jun 2014 17:24:45 +0000 (13:24 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Jun 2014 17:24:45 +0000 (13:24 -0400)
don't need close gif

libjs/arrowMenu.js

index 3e5aa3e..93066c7 100644 (file)
@@ -7,7 +7,7 @@ function setMobileNav() {
             // Animate the logo so it fits in the topbar.
              $('#logo').addClass('open');
              // Toggle the menu button to a close button.
-             $(this).css('background', 'url(' + media_base_url + 'assets/close.png) 0 0 no-repeat');
+             //$(this).css('background', 'url(' + media_base_url + 'assets/close.png) 0 0 no-repeat');
              // Show the menu.
              $('#mobilenav').css("display", "block");
         } else {
@@ -15,7 +15,7 @@ function setMobileNav() {
             // Animate the logo to its original size.
              $('#logo').removeClass('open');
              // Toggle the close button to a menu button.
-             $(this).css('background', 'url(' + media_base_url + 'assets/menu.png) 0 0 no-repeat');
+             //$(this).css('background', 'url(' + media_base_url + 'assets/menu.png) 0 0 no-repeat');
              // Show the menu.
              //$('#mobilenav').css("display", "none");
         }