aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-06 20:31:45 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-06 20:31:45 -0700
commit192b5a41f06cc928c479383ec8ec4400c5b1bb66 (patch)
tree4e71a84b7ceb1185cb273882382cca4c8acdc327 /view/js
parentc76da2e77d55ab6632e90c60e3a6ba0b2ffdd167 (diff)
parentf5fe37ab096a04d281ba23106ad2fe4475a843a4 (diff)
downloadvolse-hubzilla-192b5a41f06cc928c479383ec8ec4400c5b1bb66.tar.gz
volse-hubzilla-192b5a41f06cc928c479383ec8ec4400c5b1bb66.tar.bz2
volse-hubzilla-192b5a41f06cc928c479383ec8ec4400c5b1bb66.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
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();