summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/notes.js1
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');
}