自动保存优化, 时间缩短成10s

https://github.com/leanote/leanote/issues/243
This commit is contained in:
lealife committed 2015-10-30 14:02:28 +08:00
1 parent 1242834b7f
commit 6eea03f81e
5 files changed
+179 -167

No files matched your search

+1 -1
View File
@@ -558,7 +558,7 @@ function initEditor() {
// 刷新时保存 参考autosave插件
window.onbeforeunload = function(e) {
Note.curChangedSaveIt();
Note.curChangedSaveIt(true);
}
// 全局快捷键