Skip to content

Commit 1ac6aaa

Browse files
committed
Merge pull request BonsaiDen#266 from KwanEsq/master
Remove style attribute from mainNav after slide up, fixes BonsaiDen#99
2 parents 546fb55 + 26a4afa commit 1ac6aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/javascript/garden.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Page.prototype = {
184184

185185
$('#nav_main').click(function(){
186186
if(that.window.width() < 1000)
187-
mainNav.slideUp(300);
187+
mainNav.slideUp(300, function() {this.removeAttr('style');});
188188
});
189189
},
190190

0 commit comments

Comments
 (0)