diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-10-06 20:31:45 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-10-06 20:31:45 -0700 |
commit | 192b5a41f06cc928c479383ec8ec4400c5b1bb66 (patch) | |
tree | 4e71a84b7ceb1185cb273882382cca4c8acdc327 /view/js | |
parent | c76da2e77d55ab6632e90c60e3a6ba0b2ffdd167 (diff) | |
parent | f5fe37ab096a04d281ba23106ad2fe4475a843a4 (diff) | |
download | volse-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.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(); |