mirror of
https://github.com/zadam/trilium.git
synced 2024-11-13 19:26:28 +08:00
15 lines
No EOL
255 B
JavaScript
15 lines
No EOL
255 B
JavaScript
function message(str) {
|
|
const top = $("#top-message");
|
|
|
|
top.fadeIn(1500);
|
|
top.html(str);
|
|
top.fadeOut(1500);
|
|
}
|
|
|
|
function error(str) {
|
|
const error = $("#error-message");
|
|
|
|
error.show();
|
|
error.html(str);
|
|
error.fadeOut(10000);
|
|
} |