summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/remoting.js
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 22:28:34 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 22:28:34 +0000
commit0a6ee8936aa5175f9411287d5b7fcf99f7af8719 (patch)
treeef653afe9e1b2fff51184069d4b39629d8b99aa1 /remoting/webapp/remoting.js
parent751fc718e21d98e0a8e8879449a9de61455ea7c4 (diff)
downloadchromium_src-0a6ee8936aa5175f9411287d5b7fcf99f7af8719.zip
chromium_src-0a6ee8936aa5175f9411287d5b7fcf99f7af8719.tar.gz
chromium_src-0a6ee8936aa5175f9411287d5b7fcf99f7af8719.tar.bz2
Add apps-v1-only class and apply it to the sign-out link.
Signing out is not a concept we support in Apps v2. BUG=263090 R=lambroslambrou@chromium.org Review URL: https://codereview.chromium.org/20476002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/remoting.js')
-rw-r--r--remoting/webapp/remoting.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 93616b0..22ccad3 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -45,6 +45,7 @@ remoting.init = function() {
var manifest = chrome.runtime.getManifest();
if (manifest && manifest.app && manifest.app.background) {
remoting.isAppsV2 = true;
+ document.body.classList.add('apps-v2');
}
if (!remoting.isAppsV2) {