Fix auto-logout after scan a QR

This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-12 15:07:48 -03:00
commit c187c0fb03
3 changed files with 17 additions and 1 deletions

View file

@ -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() {