Index: chrome/browser/resources/new_new_tab.html |
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html |
index 2eecccac3e070fcafa9e195d5e87514e3d6c060a..9f7f01d1520446543b8adffd56a07ed458ca0078 100644 |
--- a/chrome/browser/resources/new_new_tab.html |
+++ b/chrome/browser/resources/new_new_tab.html |
@@ -288,12 +288,13 @@ i18nTemplate.process(document, templateData); |
<script src="ntp/apps.js"></script> |
<script> |
-cr.ui.decorate('menu', cr.ui.Menu); |
-cr.ui.decorate('command', cr.ui.Command); |
-cr.ui.decorate('button[menu]', cr.ui.MenuButton); |
-</script> |
+ cr.ui.decorate('menu', cr.ui.Menu); |
+ cr.ui.decorate('command', cr.ui.Command); |
+ cr.ui.decorate('button[menu]', cr.ui.MenuButton); |
+ |
+ if (cr.isChromeOS) |
+ $('closed-sections-bar').setAttribute('chromeos', true); |
-<script> |
initializeLogin(); |
initializeSection('apps', MINIMIZED_APPS, Section.APPS); |