Update messagePopup.js

pull/7569/head
Rodrigo Nascimento 8 years ago committed by GitHub
parent 95c1ce20b4
commit 173c85b424
  1. 1
      packages/rocketchat-ui-message/client/popup/messagePopup.js

@ -200,7 +200,6 @@ Template.messagePopup.onCreated(function() {
return;
}
firstPartValue = firstPartValue.replace(template.selectorRegex, template.prefix + getValue + template.suffix);
template.input.value = firstPartValue + lastPartValue;
return setCursorPosition(template.input, firstPartValue.length);
};

Loading…
Cancel
Save