correct textarea id in insertFormattingToPost
This commit is contained in:
parent
9bc6238b59
commit
763ed35bc3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function insertFormatting(BBcode, id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function insertFormattingToPost(BBcode) {
|
function insertFormattingToPost(BBcode) {
|
||||||
textarea = document.getElementById("#profile-jot-text");
|
textarea = document.getElementById("profile-jot-text");
|
||||||
if (document.selection) {
|
if (document.selection) {
|
||||||
textarea.focus();
|
textarea.focus();
|
||||||
selected = document.selection.createRange();
|
selected = document.selection.createRange();
|
||||||
|
|
Loading…
Reference in a new issue