aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-05 12:26:04 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-05 12:26:04 +0200
commit05050381d3d662fd880cd04142cf6ba399cbf104 (patch)
treee7363a6c8b7456254f958312b9c1e656561717d4 /view/js
parent95d6d2644f25b208ce087ed48578be580973745e (diff)
downloadvolse-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')
-rw-r--r--view/js/main.js4
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();