mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix z-index of notification
This commit is contained in:
parent
d82898421e
commit
0d3bc22d73
@ -28,11 +28,9 @@ function showError(message, delay = 10000) {
|
||||
|
||||
function getNotifySettings(type, delay) {
|
||||
return {
|
||||
element: (glob.activeDialog && glob.activeDialog.hasClass("show"))
|
||||
? glob.activeDialog.find('.modal-header')[0]
|
||||
: 'body',
|
||||
element: 'body',
|
||||
type: type,
|
||||
z_index: 1031,
|
||||
z_index: 90000,
|
||||
placement: {
|
||||
from: "top",
|
||||
align: "center"
|
||||
|
@ -57,7 +57,7 @@ async function setupProtectedSession() {
|
||||
const response = await enterProtectedSessionOnServer(password);
|
||||
|
||||
if (!response.success) {
|
||||
infoService.showError("Wrong password.");
|
||||
infoService.showError("Wrong password.", 3000);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user