Merge pull request #3379 from cmgustavo/bug/ios-resume-event
Fixes the "resume" event on mobile
This commit is contained in:
commit
2a14348cf5
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ angular.element(document).ready(function() {
|
||||||
|
|
||||||
document.addEventListener('resume', function() {
|
document.addEventListener('resume', function() {
|
||||||
if (!window.ignoreMobilePause) {
|
if (!window.ignoreMobilePause) {
|
||||||
window.location = '#/cordova/resume';
|
window.location = '#/cordova/resume/';
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.ignoreMobilePause = false;
|
window.ignoreMobilePause = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue