From: Andrew Dolgov Date: Fri, 7 Jun 2013 06:04:43 +0000 (+0400) Subject: hide floatingTitle when first batch of headlines is received X-Git-Tag: 1.8~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f9699a53ffa36e89f9ea3fc87026a378e073584;p=tt-rss.git hide floatingTitle when first batch of headlines is received --- diff --git a/js/viewfeed.js b/js/viewfeed.js index 37bdeb68..c20c5a39 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -55,6 +55,10 @@ function headlines_callback2(transport, offset, background, infscroll_req) { try { if (infscroll_req == false) { $("headlines-frame").scrollTop = 0; + + Element.hide("floatingTitle"); + $("floatingTitle").setAttribute("rowid", 0); + $("floatingTitle").innerHTML = ""; } } catch (e) { };