correct textarea id in insertFormattingToPost

This commit is contained in:
Jonny Tischbein 2018-09-20 17:23:29 +02:00
parent 9bc6238b59
commit 763ed35bc3

View file

@ -28,7 +28,7 @@ function insertFormatting(BBcode, id) {
}
function insertFormattingToPost(BBcode) {
textarea = document.getElementById("#profile-jot-text");
textarea = document.getElementById("profile-jot-text");
if (document.selection) {
textarea.focus();
selected = document.selection.createRange();