diff --git a/app/assets/javascripts/editor/editor.js.erb b/app/assets/javascripts/editor/editor.js.erb index 627de632..9deff0d6 100644 --- a/app/assets/javascripts/editor/editor.js.erb +++ b/app/assets/javascripts/editor/editor.js.erb @@ -323,9 +323,7 @@ configureEditors: function () { var button = $('#requestComments'); button.prop('disabled', true); button.on('click', function () { - if ($('#editor').data('show-interventions') == true){ - $('#rfc_intervention_text').hide() - } + $('#rfc_intervention_text').hide() $('#comment-modal').modal('show'); });