Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4 from iamdustan/patch-1

Remove inline style (rather than insert 'display:block;') on hideMenu (de
  • Loading branch information...
commit 8f74aa0bbf0de5dfda78cf89e5d044a85739da62 2 parents 3889b69 + 746e46f
@mattkersley authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.mobilemenu.js
View
4 jquery.mobilemenu.js
@@ -51,14 +51,14 @@
//show the mobile menu
function showMenu($this){
- $this.hide();
+ $this.hide('display', 'none');
$('#mobileMenu_'+$this.attr('id')).show();
}
//hide the mobile menu
function hideMenu($this){
- $this.show();
+ $this.css('display', '');
$('#mobileMenu_'+$this.attr('id')).hide();
}
Please sign in to comment.
Something went wrong with that request. Please try again.