Skip to content

Commit

Permalink
Fix adobe#1907: menus don't have a dark theme anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Abykin committed Mar 28, 2017
1 parent fb2e11b commit dd0aab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/ThemeManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ define(function (require, exports, module) {
return result.content;
})
.then(function (cssContent) {
$("body").toggleClass("dark", theme.dark);
styleNode.text(cssContent);
$("body").attr('data-theme',theme.name);
pending.resolve(theme);
Expand Down

0 comments on commit dd0aab7

Please sign in to comment.