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

Unified Diff: components/version_ui/resources/about_version.js

Issue 2626043007: Clean up chrome://version page. (Closed)
Patch Set: fix rebase Created 3 years, 11 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 | « components/version_ui/resources/about_version.html ('k') | components/version_ui/version_ui_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/version_ui/resources/about_version.js
diff --git a/components/version_ui/resources/about_version.js b/components/version_ui/resources/about_version.js
index 9a987f7ccd4569aca550431e7b8af7d23a67f3ed..8232edd39f4f18c94ddcec306146dc0870f119bc 100644
--- a/components/version_ui/resources/about_version.js
+++ b/components/version_ui/resources/about_version.js
@@ -63,9 +63,10 @@ function returnCustomizationId(response) {
/* All the work we do onload. */
function onLoadWork() {
chrome.send('requestVersionInfo');
- $('arc_holder').hidden = true;
- if (cr.isChromeOS)
+ if (cr.isChromeOS) {
+ $('arc_holder').hidden = true;
chrome.chromeosInfoPrivate.get(['customizationId'], returnCustomizationId);
+ }
}
document.addEventListener('DOMContentLoaded', onLoadWork);
« no previous file with comments | « components/version_ui/resources/about_version.html ('k') | components/version_ui/version_ui_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698