Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Remove inline style (rather than insert 'display:block;') on hideMenu (de #4

Merged
merged 1 commit into from Aug 23, 2011
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
View
@@ -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();
}