fix duplicate RCHK check while appending headlines

This commit is contained in:
Andrew Dolgov 2012-12-27 13:21:32 +04:00
parent b0ec17ea3c
commit 61261e45b9
1 changed files with 3 additions and 3 deletions

View File

@ -162,9 +162,9 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
initHeadlinesMenu();
new_elems.each(function(child) {
if (dijit.byId("RCHK-" + child.id)) {
dijit.byId("RCHK-" + child.id).destroy();
}
var cb = dijit.byId(child.id.replace("RROW-", "RCHK-"));
if (cb) cb.destroy();
dojo.parser.parse(child);