summaryrefslogtreecommitdiffstats
path: root/remoting/webapp
diff options
context:
space:
mode:
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);