Skip to content

Commit

Permalink
If the sidebar is a drawer, clicking elsewhere should not close it (T…
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Campi committed Feb 27, 2012
1 parent 6bbad87 commit 41ba65a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,9 @@ goog.scope(function() {

if (!withinSidebar) {
this.sidebars.forEach(function(sidebar) {
this.sidebarInactive(sidebar);
if (!dom.hasClass(sidebar, 'drawer')) {
this.sidebarInactive(sidebar);
}
}, this);
}

Expand Down

0 comments on commit 41ba65a

Please sign in to comment.