hide floatingTitle when first batch of headlines is received

This commit is contained in:
Andrew Dolgov 2013-06-07 10:04:43 +04:00
parent 33e2d26bcb
commit 5f9699a53f
1 changed files with 4 additions and 0 deletions

View 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) { };