diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-05 12:26:04 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-05 12:26:04 +0200 |
commit | 05050381d3d662fd880cd04142cf6ba399cbf104 (patch) | |
tree | e7363a6c8b7456254f958312b9c1e656561717d4 /view/js/main.js | |
parent | 95d6d2644f25b208ce087ed48578be580973745e (diff) | |
download | volse-hubzilla-05050381d3d662fd880cd04142cf6ba399cbf104.tar.gz volse-hubzilla-05050381d3d662fd880cd04142cf6ba399cbf104.tar.bz2 volse-hubzilla-05050381d3d662fd880cd04142cf6ba399cbf104.zip |
bring our bbcode tools to private mail
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index d3c7175d0..34d6bf475 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -112,12 +112,12 @@ function insertbbcomment(comment, BBcode, id) { return true; } -function inserteditortag(BBcode) { +function inserteditortag(BBcode, id) { // allow themes to override this if(typeof(insertEditorFormatting) != 'undefined') return(insertEditorFormatting(BBcode)); - textarea = document.getElementById('profile-jot-text'); + textarea = document.getElementById(id); if (document.selection) { textarea.focus(); selected = document.selection.createRange(); |