fixed time for interventions

This commit is contained in:
Thomas Hille
2017-03-24 12:17:18 +01:00
parent 94a4937854
commit 7f6c433fe8

View File

@@ -613,7 +613,7 @@ configureEditors: function () {
type: 'POST', type: 'POST',
url: $('#editor').data('intervention-save-url') url: $('#editor').data('intervention-save-url')
}); });
}, 0); }, timeUntilIntervention);
} else if ($('#editor').data('rfc-interventions')) { } else if ($('#editor').data('rfc-interventions')) {
setTimeout(function () { setTimeout(function () {
var button = $('#requestComments'); var button = $('#requestComments');
@@ -630,7 +630,7 @@ configureEditors: function () {
url: $('#editor').data('intervention-save-url') url: $('#editor').data('intervention-save-url')
}); });
}; };
}, 0); }, timeUntilIntervention);
} }
} }
}); });