Skip to content

Commit

Permalink
Updates Responsive Nav to v1.0.31 to get rid of a Chrome bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsalminen committed Mar 3, 2014
1 parent 01987cf commit 77f61e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/responsive-nav.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! responsive-nav.js 1.0.30
/*! responsive-nav.js 1.0.31
* https://github.com/viljamis/responsive-nav.js
* http://responsive-nav.com
*
Expand Down Expand Up @@ -470,7 +470,7 @@
for (var i = 0; i < nav.inner.length; i++) {
savedHeight += nav.inner[i].offsetHeight;
}
var innerStyles = "." + opts.navClass + "-" + this.index + ".opened{max-height:" + savedHeight + "px !important}";
var innerStyles = "." + opts.jsClass + " ." + opts.navClass + "-" + this.index + ".opened{max-height:" + savedHeight + "px !important}";

if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = innerStyles;
Expand Down

0 comments on commit 77f61e7

Please sign in to comment.