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

Unified Diff: chrome/browser/resources/security_warnings/interstitial_v2_mobile.js

Issue 1116693003: Interstitial page bug fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: chrome/browser/resources/security_warnings/interstitial_v2_mobile.js
diff --git a/chrome/browser/resources/security_warnings/interstitial_v2_mobile.js b/chrome/browser/resources/security_warnings/interstitial_v2_mobile.js
index c802397d43b1ceae39b11a1e8d4978da05dbf8ce..cb75d9f282beac8967f8d38676b590bbbea4213e 100644
--- a/chrome/browser/resources/security_warnings/interstitial_v2_mobile.js
+++ b/chrome/browser/resources/security_warnings/interstitial_v2_mobile.js
@@ -12,8 +12,8 @@ function onResize() {
var helpOuterBox = document.querySelector('#details');
var mainContent = document.querySelector('#main-content');
var mediaQuery = '(min-width: 240px) and (max-width: 420px) and ' +
- '(orientation: portrait), (max-width: 736px) and ' +
- '(max-height: 420px) and (orientation: landscape)';
+ '(max-height: 736px) and (orientation: portrait),' +
+ '(max-width: 736px) and (max-height: 420px) and (orientation: landscape)';
var detailsHidden = helpOuterBox.classList.contains('hidden');
var runnerContainer = document.querySelector('.runner-container');

Powered by Google App Engine
This is Rietveld 408576698