X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fremoting%2Fwebapp%2Fhost_installer.js;h=a87e217805ac7a0e5bfaef3d82d68ac652a43ae7;hb=ac5c4e12d0a033d1c358a787e329f167d4ded761;hp=45dbadde70338b8031f4302eca78823670806cd7;hpb=0a7e0ff458505735434b51cfa564902cdb901fc1;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/remoting/webapp/host_installer.js b/src/remoting/webapp/host_installer.js index 45dbadd..a87e217 100644 --- a/src/remoting/webapp/host_installer.js +++ b/src/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 +};