Refresh right away on manual locking
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user