Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor.js b/js/editor.js
index b6177ab..958f9a8 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -635,8 +635,8 @@ var Files_Texteditor = {
* Configure the autosave timer
*/
setupAutosave: function() {
- clearTimeout(this.saveTimer);
- this.saveTimer = setTimeout(OCA.Files_Texteditor._onSaveTrigger, 3000);
+ clearTimeout(OCA.Files_Texteditor.saveTimer);
+ OCA.Files_Texteditor.saveTimer = setTimeout(OCA.Files_Texteditor._onSaveTrigger, 3000);
},
/**