Refresh right away on manual locking

This commit is contained in:
Mo Bitar
2017-10-16 11:11:17 -05:00
parent 406d5fe8ff
commit 40bd56eb18

View File

@@ -9,12 +9,8 @@ angular.module('app.frontend')
}
$rootScope.lockApplication = function() {
// Render first to show lock screen immediately, then refresh
$scope.needsUnlock = true;
// Reloading wipes current objects from memory
setTimeout(function () {
window.location.reload();
}, 100);
window.location.reload();
}
function load() {