Index: remoting/webapp/crd/js/identity.js |
diff --git a/remoting/webapp/crd/js/identity.js b/remoting/webapp/crd/js/identity.js |
index 3cf7e3dd0981531087088f0eafb246e54a565586..63e70d47e9d29d229ee2a76cd394b94ddcba30aa 100644 |
--- a/remoting/webapp/crd/js/identity.js |
+++ b/remoting/webapp/crd/js/identity.js |
@@ -163,7 +163,7 @@ remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) { |
if (token) { |
while (this.pendingCallbacks_.length > 0) { |
var callback = /** @type {remoting.Identity.Callbacks} */ |
- this.pendingCallbacks_.shift(); |
+ (this.pendingCallbacks_.shift()); |
callback.onOk(token); |
} |
return; |
@@ -178,7 +178,7 @@ remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) { |
console.error(error_message); |
while (this.pendingCallbacks_.length > 0) { |
var callback = /** @type {remoting.Identity.Callbacks} */ |
- this.pendingCallbacks_.shift(); |
+ (this.pendingCallbacks_.shift()); |
callback.onError(remoting.Error.NOT_AUTHENTICATED); |
} |
return; |