Skip to content

Commit

Permalink
stray alert
Browse files Browse the repository at this point in the history
  • Loading branch information
thorst committed Mar 10, 2014
1 parent 870a1ef commit 753e751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/autologout.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h4 class="modal-title">You have been logged out</h4>
diff = (+new Date()) - obj.lastActive - obj.timeout,
warning = (+new Date()) - diff
;
alert(diff);

//On mobile js is paused, so see if this was triggered while we were sleeping
if (diff >= session.warningTimeout || warning <= session.minWarning) {
$("#mdlLoggedOut").modal("show");
Expand Down

0 comments on commit 753e751

Please sign in to comment.