]> git.wh0rd.org Git - tt-rss.git/commitdiff
hide floatingTitle when first batch of headlines is received
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 7 Jun 2013 06:04:43 +0000 (10:04 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 7 Jun 2013 06:04:43 +0000 (10:04 +0400)
js/viewfeed.js

index 37bdeb684544d79dae891fa15e50438af0af7fa3..c20c5a39b30aa6a9c84638fd565d2ebd409d7836 100644 (file)
@@ -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) { };