diff --git a/app/js/post/status.js b/app/js/post/status.js index c4a37ae1..49e651f5 100644 --- a/app/js/post/status.js +++ b/app/js/post/status.js @@ -680,7 +680,8 @@ function staEx(mode) { }) return } -function toggleAction(elem, height) { +function toggleAction(elem, ct) { + var height = ct * 39 + 6 var cont = elem.parents('.cvo').find('.contextMenu') if (cont.hasClass('hide')) { $('#contextWrap').removeClass('hide') @@ -691,6 +692,7 @@ function toggleAction(elem, height) { cont.removeClass('bottom') cont.addClass('top') } else { + top = elem.offset().top - 105 cont.removeClass('top') cont.addClass('bottom') } diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index d4d97783..53fd60c1 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -1132,7 +1132,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {