Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: chrome/browser/resources/ntp/apps.js

Issue 6060003: Disable 'create shortcut' in newtab apps pulldown menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for the review comment. Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp/apps.js
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
index 32b8a4af29e254f07d398d854f9df6428b2934c0..b474f19986a9eb26d4bbbfb50029660fd602edb0 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -36,7 +36,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');
+ (data.disableCreateAppShortcut ? 'none' : '');
appsMiniview.textContent = '';
appsSectionContent.textContent = '';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698