Commit 7c5aaf81 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'ph/removeUnusedInlineScriptTag' into 'master'

Remove inline script tag from merge request page

See merge request gitlab-org/gitlab!78690
parents 621945b6 2ecbfa31
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
= render "projects/merge_requests/tabs/pane", id: "notes", class: "notes voting_notes" do = render "projects/merge_requests/tabs/pane", id: "notes", class: "notes voting_notes" do
.row .row
%section.col-md-12 %section.col-md-12
-# haml-lint:disable InlineJavaScript
%script.js-notes-data{ type: "application/json" }= initial_notes_data(true).to_json.html_safe
.issuable-discussion.js-vue-notes-event .issuable-discussion.js-vue-notes-event
- if @merge_request.description.present? - if @merge_request.description.present?
.detail-page-description .detail-page-description
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment