trilium/static/js/utils.js

15 lines
255 B
JavaScript
Raw Normal View History

2017-06-12 04:04:07 +08:00
function message(str) {
const top = $("#top-message");
top.fadeIn(1500);
top.html(str);
top.fadeOut(1500);
2017-08-14 09:42:10 +08:00
}
function error(str) {
const error = $("#error-message");
error.show();
error.html(str);
error.fadeOut(10000);
2017-06-12 04:04:07 +08:00
}