sforkowany z mirror/friendica
correct textarea id in insertFormattingToPost
rodzic
9bc6238b59
commit
763ed35bc3
|
@ -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();
|
||||||
|
|
Ładowanie…
Reference in New Issue