MDL-46900 theme: allowed more than 1 nav collapse element

This commit is contained in:
Brian Barnes
2014-08-21 14:56:56 +12:00
parent e1eb180806
commit e5cb8da2f2
4 changed files with 4 additions and 4 deletions
@@ -708,7 +708,7 @@ NS.setup_toggle_show = function() {
NS.toggle_show = function(e) {
// Toggle the active class on both the clicked .btn-navbar and the .nav-collapse.
// Our CSS will set the height for these.
Y.one(SELECTORS.NAV_COLLAPSE).toggleClass(CSS.ACTIVE);
Y.all(SELECTORS.NAV_COLLAPSE).toggleClass(CSS.ACTIVE);
e.currentTarget.toggleClass(CSS.ACTIVE);
};
File diff suppressed because one or more lines are too long
@@ -698,7 +698,7 @@ NS.setup_toggle_show = function() {
NS.toggle_show = function(e) {
// Toggle the active class on both the clicked .btn-navbar and the .nav-collapse.
// Our CSS will set the height for these.
Y.one(SELECTORS.NAV_COLLAPSE).toggleClass(CSS.ACTIVE);
Y.all(SELECTORS.NAV_COLLAPSE).toggleClass(CSS.ACTIVE);
e.currentTarget.toggleClass(CSS.ACTIVE);
};
+1 -1
View File
@@ -98,6 +98,6 @@ NS.setup_toggle_show = function() {
NS.toggle_show = function(e) {
// Toggle the active class on both the clicked .btn-navbar and the .nav-collapse.
// Our CSS will set the height for these.
Y.one(SELECTORS.NAV_COLLAPSE).toggleClass(CSS.ACTIVE);
Y.all(SELECTORS.NAV_COLLAPSE).toggleClass(CSS.ACTIVE);
e.currentTarget.toggleClass(CSS.ACTIVE);
};