moved message area next to note title

This commit is contained in:
azivner
2017-09-24 11:34:16 -04:00
parent 21f49ea7c5
commit 398a0bce5e
3 changed files with 11 additions and 17 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
function message(str) {
const top = $("#top-message");
top.fadeIn(1500);
top.fadeIn(1500).css("display","inline-block");
top.html(str);
top.fadeOut(1500);
}
@@ -9,7 +9,7 @@ function message(str) {
function error(str) {
const error = $("#error-message");
error.show();
error.show().css("display","inline-block");
error.html(str);
error.fadeOut(10000);
}