resume and pause event bug
This commit is contained in:
parent
682c896f27
commit
5c715684b7
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ angular.element(document).ready(function() {
|
||||||
document.addEventListener('pause', function() {
|
document.addEventListener('pause', function() {
|
||||||
if (!window.ignoreMobilePause) {
|
if (!window.ignoreMobilePause) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location = '#/cordova/pause/';
|
window.location = '#/cordova/pause//';
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
|
|
@ -41,7 +41,7 @@ angular.element(document).ready(function() {
|
||||||
document.addEventListener('resume', function() {
|
document.addEventListener('resume', function() {
|
||||||
if (!window.ignoreMobilePause) {
|
if (!window.ignoreMobilePause) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location = '#/cordova/resume/';
|
window.location = '#/cordova/resume//';
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue