Index: chrome/browser/resources/ssl/interstitial_v2.js |
diff --git a/chrome/browser/resources/ssl/interstitial_v2.js b/chrome/browser/resources/ssl/interstitial_v2.js |
index f05771c1410ac469c2cbacbeedf2932392780f82..31ea103fe684ac62fdbeb9fa68472b415232b061 100644 |
--- a/chrome/browser/resources/ssl/interstitial_v2.js |
+++ b/chrome/browser/resources/ssl/interstitial_v2.js |
@@ -14,6 +14,8 @@ function setupEvents() { |
if (ssl) { |
$('body').classList.add('ssl'); |
setupSSLFinchTrial(); /* From ssl_errors_common.js. */ |
+ $('error-code').textContent = loadTimeData.getString('errorCode'); |
+ $('error-code').classList.remove('hidden'); |
} else { |
$('body').classList.add('safe-browsing'); |
setupMalwareFinchExperiment(); /* From safe_browsing_v3.js. */ |
@@ -50,11 +52,6 @@ function setupEvents() { |
}); |
} |
- if (ssl && !overridable) { |
- $('error-code').textContent = loadTimeData.getString('errorCode'); |
- $('error-code').classList.remove('hidden'); |
- } |
- |
if (ssl && $('clock-link')) { |
$('clock-link').addEventListener('click', function(event) { |
sendCommand(CMD_CLOCK); |