Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit d7cbd35

Browse files
committed
Merge branch 'release/1.3.1'
2 parents 84f5169 + 0aad081 commit d7cbd35

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

angular-idle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*** Directives and services for responding to idle users in AngularJS
22
* @author Mike Grabski <me@mikegrabski.com>
3-
* @version v1.3.0
3+
* @version v1.3.1
44
* @link https://github.com/HackedByChinese/ng-idle.git
55
* @license MIT
66
*/
@@ -341,7 +341,7 @@ angular.module('ngIdle.idle', ['ngIdle.keepalive', 'ngIdle.localStorage'])
341341
};
342342

343343
if ($window.addEventListener) $window.addEventListener('storage', wrap, false);
344-
else $window.attachEvent('onstorage', wrap);
344+
else if ($window.attachEvent) $window.attachEvent('onstorage', wrap);
345345

346346
return svc;
347347
}

angular-idle.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)