Permalink
Browse files

fix(authServive): fix ie11 storage event loop

  • Loading branch information...
doktordirk committed Oct 11, 2016
1 parent e083ecb commit b9ce956218fb1c097029722cb7e3e9fc368f23d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/authService.js
@@ -80,7 +80,7 @@ export class AuthService {
* @param {StorageEvent} event StorageEvent
*/
storageEventHandler = (event: StorageEvent) => {
if (event.key !== this.config.storageKey) {
if (event.key !== this.config.storageKey || event.newValue === event.oldValue) {
return;
}

0 comments on commit b9ce956

Please sign in to comment.