diff options
author | kushalpandya <kushal@gitlab.com> | 2017-06-02 18:42:15 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-06-02 18:42:15 +0530 |
commit | 3ee8a09a926011132889dda561eb4bf364ec34ea (patch) | |
tree | 167a687120621ee98276e0124aa875ac1453f68c | |
parent | 534d690c963b3e7bd3198b81c3654ac19a2ade7d (diff) | |
download | gitlab-ce-27614-improve-instant-comments-exp.tar.gz |
Prevent slash command preview removal immediately27614-improve-instant-comments-exp
-rw-r--r-- | app/assets/javascripts/notes.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 814ff6b9871..929965de5c1 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -1389,7 +1389,6 @@ const normalizeNewlines = function(str) { // Reset cached commands list when command is applied if (hasSlashCommands) { - $notesContainer.find(`#${systemNoteUniqueId}`).remove(); $form.find('textarea.js-note-text').trigger('clear-commands-cache.atwho'); } |