Hide FABs when auth visible (locked). Trash FAB glow shadow when active.
This commit is contained in:
@@ -623,6 +623,7 @@ async function doLogout() {
|
||||
document.getElementById('vaultSection').classList.add('hidden');
|
||||
document.getElementById('loginPassword').value = '';
|
||||
document.getElementById('loginUsername').value = localStorage.getItem('savedLoginUser') || '';
|
||||
document.querySelectorAll('.fab').forEach(b => b.classList.add('hidden'));
|
||||
}
|
||||
|
||||
function showVault() {
|
||||
@@ -635,6 +636,7 @@ function showVault() {
|
||||
renderFolders();
|
||||
populateFolderSelects();
|
||||
syncSettingsUI();
|
||||
document.querySelectorAll('.fab').forEach(b => b.classList.remove('hidden'));
|
||||
resetIdle();
|
||||
}
|
||||
|
||||
@@ -1529,4 +1531,5 @@ document.addEventListener('keydown', function(e) {
|
||||
else if (document.getElementById('editModal').classList.contains('show')) saveEdit();
|
||||
}
|
||||
});
|
||||
document.getElementById('loginUsername').focus();
|
||||
document.getElementById('loginUsername').focus();
|
||||
document.querySelectorAll('.fab').forEach(b => b.classList.add('hidden'));
|
||||
Reference in New Issue
Block a user