summaryrefslogtreecommitdiffstats
path: root/remoting/webapp
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 03:43:19 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 03:43:19 +0000
commitc5ae77e718e1cb77475d24236dc42fa2de77da80 (patch)
tree2118d3ed501978d9007119ee48f905af1f807c30 /remoting/webapp
parent3125844a928e887e297ae046fb263e3d4646b679 (diff)
downloadchromium_src-c5ae77e718e1cb77475d24236dc42fa2de77da80.zip
chromium_src-c5ae77e718e1cb77475d24236dc42fa2de77da80.tar.gz
chromium_src-c5ae77e718e1cb77475d24236dc42fa2de77da80.tar.bz2
Work around jscompile bug.
Review URL: https://codereview.chromium.org/318473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp')
-rw-r--r--remoting/webapp/host_screen.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/webapp/host_screen.js b/remoting/webapp/host_screen.js
index 285fa99..d1a26fc 100644
--- a/remoting/webapp/host_screen.js
+++ b/remoting/webapp/host_screen.js
@@ -63,7 +63,8 @@ remoting.tryShare = function() {
// If we failed to initialize the dispatcher then prompt the user to install
// the host manually.
- if (hostInstallDialog == null) {
+ var hasHostDialog = (hostInstallDialog != null); /** jscompile hack */
+ if (!hasHostDialog) {
hostInstallDialog = new remoting.HostInstallDialog();
hostInstallDialog.show(tryInitializeDispatcher, onInstallError);