diff --git a/app/assets/javascripts/editor/editor.js.erb b/app/assets/javascripts/editor/editor.js.erb index 0668cbc0..2c2b8011 100644 --- a/app/assets/javascripts/editor/editor.js.erb +++ b/app/assets/javascripts/editor/editor.js.erb @@ -681,6 +681,6 @@ configureEditors: function () { $(window).on("beforeunload", this.unloadAutoSave.bind(this)); // create autosave when the editor is opened the first time - this.autosave().bind(this); + this.autosave(); } }; \ No newline at end of file