From 05050381d3d662fd880cd04142cf6ba399cbf104 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 5 Oct 2015 12:26:04 +0200 Subject: bring our bbcode tools to private mail --- view/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/js') 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(); -- cgit v1.2.3