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

Unified Diff: remoting/webapp/ui_mode.js

Issue 17288017: Disable scroll-bars in shrink-to-fit mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« remoting/webapp/client_session.js ('K') | « remoting/webapp/main.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/ui_mode.js
diff --git a/remoting/webapp/ui_mode.js b/remoting/webapp/ui_mode.js
index 0a425fcf5c8be756070c9a357ce0351127f8b1be..1fb832ffbd843eaf3a39e92a62d104d6f5ac6395 100644
--- a/remoting/webapp/ui_mode.js
+++ b/remoting/webapp/ui_mode.js
@@ -128,6 +128,9 @@ remoting.setMode = function(mode) {
false);
document.removeEventListener('webkitvisibilitychange',
remoting.onVisibilityChanged, false);
+ // TODO(jamiewalch): crbug.com/252796: Remove this once crbug.com/240772
+ // is fixed.
+ document.body.parentNode.classList.remove('no-scroll');
}
};
« remoting/webapp/client_session.js ('K') | « remoting/webapp/main.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698