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

Unified Diff: remoting/webapp/remoting.js

Issue 22006002: Fix scroll-bar behaviour. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed debug log message. Created 7 years, 4 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 | « remoting/webapp/main.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/remoting.js
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 3805f6fb19dbaf501bd81c1ac4331029477d1b6a..5be27efce63b30f0bf54f678c2443c949fdf5bf2 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -45,7 +45,8 @@ remoting.init = function() {
var manifest = chrome.runtime.getManifest();
if (manifest && manifest.app && manifest.app.background) {
remoting.isAppsV2 = true;
- document.body.classList.add('apps-v2');
+ var htmlNode = /** @type {HTMLElement} */ (document.body.parentNode);
+ htmlNode.classList.add('apps-v2');
}
if (!remoting.isAppsV2) {
« no previous file with comments | « remoting/webapp/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698