yusuketk пре 6 година
родитељ
комит
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() {