diff options
-rw-r--r-- | remoting/webapp/host_installer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/webapp/host_installer.js b/remoting/webapp/host_installer.js index 45dbadd..a87e217 100644 --- a/remoting/webapp/host_installer.js +++ b/remoting/webapp/host_installer.js @@ -127,7 +127,7 @@ remoting.HostInstaller.prototype.downloadAndWaitForInstall = function() { return Promise.resolve(true); } - if (that.downloadAndWaitForInstallPromise_ !== null) { + if (that.downloadAndWaitForInstallPromise_ === null) { that.downloadAndWaitForInstallPromise_ = new Promise( /** @param {Function} resolve */ function(resolve){ @@ -159,4 +159,4 @@ remoting.HostInstaller.prototype.cancel = function() { this.checkInstallIntervalId_ = null; } this.downloadAndWaitForInstallPromise_ = null; -};
\ No newline at end of file +}; |