diff options
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index a60b47541..14d9dcd2f 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(); @@ -135,7 +135,7 @@ function insertCommentURL(comment, id) { if(reply && reply.length) { reply = bin2hex(reply); $('body').css('cursor', 'wait'); - $.get('parse_url?binurl=' + reply, function(data) { + $.get('linkinfo?f=&binurl=' + reply, function(data) { var tmpStr = $("#comment-edit-text-" + id).val(); if(tmpStr == comment) { tmpStr = ""; @@ -616,7 +616,7 @@ function updateConvItems(mode,data) { function collapseHeight() { $(".wall-item-content, .directory-collapse").each(function() { - var orgHeight = $(this).height(); + var orgHeight = $(this).outerHeight(true); if(orgHeight > divmore_height + 10) { if(! $(this).hasClass('divmore')) { $(this).readmore({ |