projects
/
tt-rss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0670a2a
)
add a hack to remove duplicate headlines from the buffer on initial load
author
Andrew Dolgov
<fox@madoka.volgo-balt.ru>
Wed, 11 Jul 2012 05:20:55 +0000
(09:20 +0400)
committer
Andrew Dolgov
<fox@madoka.volgo-balt.ru>
Wed, 11 Jul 2012 05:20:55 +0000
(09:20 +0400)
js/viewfeed.js
patch
|
blob
|
history
diff --git
a/js/viewfeed.js
b/js/viewfeed.js
index a4e9f82c052e77cb56959ab802a63bccd7b62b40..92a610f8d7eafe8e8364bec367ffb2c8a97583bf 100644
(file)
--- a/
js/viewfeed.js
+++ b/
js/viewfeed.js
@@
-80,6
+80,11
@@
function headlines_callback2(transport, offset, background, infscroll_req) {
dijit.byId("headlines-toolbar").attr('content',
reply['headlines']['toolbar']);
+ $$("#headlines-frame > div[id*=RROW]").each(function(row) {
+ if ($$("#headlines-frame DIV[id="+row.id+"]").length > 1) {
+ row.parentNode.removeChild(row);
+ }
+ });
if (getInitParam("cdm_auto_catchup") == 1) {
var hsp = $("headlines-spacer");