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

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

Issue 671043002: Offline interstitial mobile fixes (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@2171
Patch Set: Created 6 years, 2 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/renderer/resources/neterror.js
diff --git a/chrome/renderer/resources/neterror.js b/chrome/renderer/resources/neterror.js
index ae34582c6a3aa601c0de29281b85702aba903020..4daeb3fe62bfde25787881d90f96678ef998bb4b 100644
--- a/chrome/renderer/resources/neterror.js
+++ b/chrome/renderer/resources/neterror.js
@@ -135,7 +135,7 @@ function setButtonLayout() {
if (templateData) {
// Hide the details button if there are no details to show.
if (templateData.summary && !templateData.summary.msg) {
- detailsButton.hidden = true;
+ detailsButton.style.display = 'none';
document.getElementById('help-box-outer').style.display = 'block';
}
« 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