Fix auto-logout after scan a QR
This commit is contained in:
parent
1e071e8215
commit
c187c0fb03
3 changed files with 17 additions and 1 deletions
|
|
@ -10,7 +10,9 @@ angular.element(document).ready(function() {
|
|||
document.addEventListener('deviceready', function() {
|
||||
|
||||
document.addEventListener('pause', function() {
|
||||
window.location = '#!';
|
||||
if (!window.usingCamera) {
|
||||
window.location = '#!';
|
||||
}
|
||||
});
|
||||
|
||||
setTimeout(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue