better autosave - only once per 5 seconds with guaranteed save when changing notes

This commit is contained in:
azivner
2017-08-16 20:41:41 -04:00
parent 11742bba58
commit bcc4f22cf5
4 changed files with 27 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
function message(str) {
$("#top-message").show();
$("#top-message").fadeIn(1500);
$("#top-message").html(str);
$("#top-message").fadeOut(3000);
$("#top-message").fadeOut(1500);
}
function error(str) {