summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/resources/ntp/apps.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
index 4e9a38f..97183ec 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -31,6 +31,9 @@ function getAppsCallback(data) {
$('apps-create-shortcut-command-separator').hidden =
data.disableCreateAppShortcut;
+ // Hide the context menu, if there is any open.
+ cr.ui.contextMenuHandler.hideMenu();
+
appsMiniview.textContent = '';
appsSectionContent.textContent = '';