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

Unified Diff: chrome/renderer/resources/neterror.js

Issue 1583693005: Update network error interstitial strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add heading dictionary Created 4 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 | « chrome/renderer/resources/neterror.html ('k') | components/components_chromium_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/neterror.js
diff --git a/chrome/renderer/resources/neterror.js b/chrome/renderer/resources/neterror.js
index 773d82fb4ba50a14b00888fec86b224300d330c6..4185a3959e633278d7c1481f6291772753519a09 100644
--- a/chrome/renderer/resources/neterror.js
+++ b/chrome/renderer/resources/neterror.js
@@ -209,14 +209,6 @@ function onDocumentLoad() {
detailsButton.classList.add('singular');
}
-<if expr="not chromeos">
- // Hide the details button if there are no details to show.
- if (loadTimeData.valueExists('summary') &&
- !loadTimeData.getValue('summary').msg) {
- detailsButton.style.display = 'none';
- }
-</if>
-
// Show control buttons.
if (reloadButtonVisible || showSavedCopyButtonVisible ||
showOfflinePagesButtonVisible || showOfflineCopyButton) {
@@ -229,13 +221,6 @@ function onDocumentLoad() {
secondaryButton.classList.add('secondary-button');
}
}
-
- // Add a main message paragraph.
- if (loadTimeData.valueExists('primaryParagraph')) {
- var p = document.querySelector('#main-message p');
- p.innerHTML = loadTimeData.getString('primaryParagraph');
- p.hidden = false;
- }
}
document.addEventListener('DOMContentLoaded', onDocumentLoad);
« no previous file with comments | « chrome/renderer/resources/neterror.html ('k') | components/components_chromium_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698