Skip to content

Commit

Permalink
fix page-reloads on iOS (#2782) (#2925)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasman authored and dmarcos committed Aug 4, 2017
1 parent eb2858f commit b4015f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/wakelock/wakelock.js
Expand Up @@ -47,9 +47,9 @@ function iOSWakeLock() {
this.request = function() {
if (!timer) {
timer = setInterval(function() {
window.location = window.location;
window.location.href = '/';
setTimeout(window.stop, 0);
}, 30000);
}, 15000);
}
}

Expand Down

0 comments on commit b4015f5

Please sign in to comment.