diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-08-11 00:13:12 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-08-11 00:13:12 +0100 |
commit | 106f0df394c375673ab963c953c8263d254855a3 (patch) | |
tree | 43d23b98b73c688cc3490b437a5d4d4a9085a261 /app/assets/javascripts/shortcuts_issuable.js | |
parent | e7d8744641f228306bf6c1c992212c877d1ab536 (diff) | |
download | gitlab-ce-106f0df394c375673ab963c953c8263d254855a3.tar.gz |
Fix broken spec for issuable shortcuts and notes
Diffstat (limited to 'app/assets/javascripts/shortcuts_issuable.js')
-rw-r--r-- | app/assets/javascripts/shortcuts_issuable.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/shortcuts_issuable.js b/app/assets/javascripts/shortcuts_issuable.js index ec33c473864..14997fe30e9 100644 --- a/app/assets/javascripts/shortcuts_issuable.js +++ b/app/assets/javascripts/shortcuts_issuable.js @@ -63,6 +63,7 @@ import './shortcuts_navigation'; quote = _.map(selected.split("\n"), function(val) { return ("> " + val).trim() + "\n"; }); + // If replyField already has some content, add a newline before our quote separator = replyField.val().trim() !== "" && "\n\n" || ''; replyField.val(function(a, current) { |