From 5f9699a53ffa36e89f9ea3fc87026a378e073584 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 7 Jun 2013 10:04:43 +0400 Subject: [PATCH] hide floatingTitle when first batch of headlines is received --- js/viewfeed.js | 4 ++++ 1 file changed, 4 insertions(+) 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) { }; -- 2.39.5