added new logout button and fixed pdf viewing
This commit is contained in:
@@ -608,7 +608,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
top: '10px',
|
||||
left: '50%',
|
||||
transform: 'translateX(-50%)',
|
||||
zIndex: '10000',
|
||||
zIndex: '98',
|
||||
padding: '8px 16px',
|
||||
backgroundColor: '#f44336',
|
||||
color: 'white',
|
||||
@@ -630,7 +630,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
console.error('Logout request failed:', error);
|
||||
window.notify('error', 'Ein Netzwerkfehler ist aufgetreten.');
|
||||
} finally {
|
||||
setTimeout(() => window.location.reload(), 1000);
|
||||
setTimeout(() => window.location.reload(), 400);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user