From e569c8c21fb09114a00b77cd30a96ddebf8deea2 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Mon, 30 Mar 2015 00:06:03 +0200 Subject: [PATCH] fix for #147 --- css/qvitter.css | 1 - js/dom-functions.js | 1 - js/qvitter.js | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/css/qvitter.css b/css/qvitter.css index 39d750e..919fe22 100644 --- a/css/qvitter.css +++ b/css/qvitter.css @@ -1361,7 +1361,6 @@ body.rtl #footer-spinner-container { background-color:#F6F6F6; } .stream-item.conversation.visible { - overflow: hidden; opacity:1; } .stream-item.conversation.hidden-conversation { diff --git a/js/dom-functions.js b/js/dom-functions.js index d546465..a28364b 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -854,7 +854,6 @@ function expand_queet(q,doScrolling) { q.find('.inline-reply-caret').remove(); q.addClass('collapsing'); - q.css('overflow','hidden'); if(q.hasClass('conversation')) { q.removeClass('expanded'); q.removeClass('collapsing'); diff --git a/js/qvitter.js b/js/qvitter.js index cf5080a..86724a9 100644 --- a/js/qvitter.js +++ b/js/qvitter.js @@ -1146,9 +1146,9 @@ $('body').on('click','.sm-ellipsis',function(){ // show else { $('.action-ellipsis-container').children('.dropdown-menu').remove(); // remove menu from other queets - var streamItemUsername = $(this).closest('.stream-item').find('.stream-item-header').find('.screen-name').text(); - var streamItemUserID = $(this).closest('.stream-item').find('.stream-item-header').find('.name').attr('data-user-id'); - var streamItemID = $(this).closest('.stream-item').attr('data-quitter-id'); + var streamItemUsername = $(this).closest('.queet').find('.stream-item-header').find('.screen-name').text(); + var streamItemUserID = $(this).closest('.queet').find('.stream-item-header').find('.name').attr('data-user-id'); + var streamItemID = $(this).closest('.queet').parent('.stream-item').attr('data-quitter-id'); var blockHtml = ''; var deleteHtml = '';