From: Andrew Dolgov Date: Fri, 19 Nov 2010 22:38:26 +0000 (+0300) Subject: fix CDM headline popup menu X-Git-Tag: 1.5.0~123 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=069d63ebf728ff9c87385795d7272fb00526c706;p=tt-rss.git fix CDM headline popup menu --- diff --git a/viewfeed.js b/viewfeed.js index b7ef31a7..a23073fa 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -2231,7 +2231,12 @@ function initHeadlinesMenu() { dijit.byId("headlinesMenu").destroyRecursive(); var ids = []; - var nodes = $$("#headlines-frame > div[id*=RROW]"); + + if (!isCdmMode()) { + nodes = $$("#headlines-frame > div[id*=RROW]"); + } else { + nodes = $$("#headlines-frame span[id*=RTITLE]"); + } nodes.each(function(node) { ids.push(node.id);