Commit d1980ef9 authored by Gabriel Gizotti's avatar Gabriel Gizotti

only render MR description toggle javascript if description is available

parent 1a72dc24
......@@ -22,7 +22,6 @@
= link_to "#", class: "use-default-message-link" do
Use default Gitlab merge commit message
:javascript
$('.use-description-link').on('click', function(e) {
e.preventDefault();
......
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