Chromium Code Reviews| Index: chrome/renderer/resources/neterror.js |
| diff --git a/chrome/renderer/resources/neterror.js b/chrome/renderer/resources/neterror.js |
| index 360d0b840c2b73591e5cc850e4972828a0963544..81de561b5d849c1b5ab3562a74f21ac544661845 100644 |
| --- a/chrome/renderer/resources/neterror.js |
| +++ b/chrome/renderer/resources/neterror.js |
| @@ -131,12 +131,14 @@ function onDocumentLoad() { |
| detailsButton.classList.add('singular'); |
| } |
| +<if expr="not chromeos"> |
|
Randy Smith (Not in Mondays)
2015/01/27 19:05:29
Just confirming: This does result in the details b
afakhry
2015/01/28 00:08:04
Yup, that's the flag for ChromeOS. I have no idea
|
| // Hide the details button if there are no details to show. |
| if (loadTimeData.valueExists('summary') && |
| !loadTimeData.getValue('summary').msg) { |
| detailsButton.style.display = 'none'; |
| document.getElementById('help-box-outer').style.display = 'block'; |
| } |
| +</if> |
| // Show control buttons. |
| if (loadTimeData.valueExists('reloadButton') && |