| 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);
|
|
|