yusuketk 6 лет назад
Родитель
Сommit
a173aa279e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/client/js/components/PageEditor.jsx

+ 1 - 1
src/client/js/components/PageEditor.jsx

@@ -56,7 +56,7 @@ class PageEditor extends React.Component {
     this.setMarkdownStateWithDebounce = debounce(50, throttle(100, (value) => {
       this.setState({ markdown: value });
     }));
-    this.saveDraftWithDebounce = debounce(3000, this.saveDraft);
+    this.saveDraftWithDebounce = debounce(800, this.saveDraft);
   }
 
   componentWillMount() {