diff options
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 2 | ||||
-rw-r--r-- | chrome/browser/resources/ntp/apps.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index 5722024..3d50ca0 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -259,7 +259,7 @@ if ('mode' in hashParams) { <hr> <button command="#apps-options-command"></button> <button command="#apps-uninstall-command"></button> - <hr> + <hr id="apps-create-shortcut-command-separator"> <button id="apps-create-shortcut-command-menu-item" command="#apps-create-shortcut-command"></button> </menu> diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js index 2be85fa..eef4fa2 100644 --- a/chrome/browser/resources/ntp/apps.js +++ b/chrome/browser/resources/ntp/apps.js @@ -35,6 +35,7 @@ function getAppsCallback(data) { // The "Create App Shortcut" menu option. $('apps-create-shortcut-command-menu-item').style.display = + $('apps-create-shortcut-command-separator').style.display = (data.disableCreateAppShortcut ? 'none' : 'inline'); appsMiniview.textContent = ''; |