diff --git a/app/assets/javascripts/editor/editor.js.erb b/app/assets/javascripts/editor/editor.js.erb index 867f86ba..627de632 100644 --- a/app/assets/javascripts/editor/editor.js.erb +++ b/app/assets/javascripts/editor/editor.js.erb @@ -613,7 +613,7 @@ configureEditors: function () { type: 'POST', url: $('#editor').data('intervention-save-url') }); - }, 0); + }, timeUntilIntervention); } else if ($('#editor').data('rfc-interventions')) { setTimeout(function () { var button = $('#requestComments'); @@ -630,7 +630,7 @@ configureEditors: function () { url: $('#editor').data('intervention-save-url') }); }; - }, 0); + }, timeUntilIntervention); } } });