]> git.wh0rd.org - tt-rss.git/commitdiff
remove RTITLE
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 6 Apr 2013 21:04:32 +0000 (01:04 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 6 Apr 2013 21:04:32 +0000 (01:04 +0400)
classes/feeds.php
js/viewfeed.js

index ed0785c092af25f17457ac1f735ec9aa62dcea73..be5470922d8fa73ef72abee86553582758895cc7 100644 (file)
@@ -465,8 +465,8 @@ class Feeds extends Handler_Protected {
                                        $reply['content'] .= "</div>";
 
                                        $reply['content'] .= "<div onclick='return hlClicked(event, $id)'
-                                               class=\"hlTitle\"><span class='hlContent$hlc_suffix'>";
-                                       $reply['content'] .= "<a id=\"RTITLE-$id\" class=\"title\"
+                                               class=\"hlTitle\"><span class='hlTitle hlContent$hlc_suffix'>";
+                                       $reply['content'] .= "<a class=\"title\"
                                                href=\"" . htmlspecialchars($line["link"]) . "\"
                                                onclick=\"\">" .
                                                truncate_string($line["title"], 200);
@@ -570,7 +570,7 @@ class Feeds extends Handler_Protected {
 
                                        $reply['content'] .= "</div>";
 
-                                       $reply['content'] .= "<span id=\"RTITLE-$id\"
+                                       $reply['content'] .= "<span
                                                onclick=\"return cdmClicked(event, $id);\"
                                                class=\"titleWrap$hlc_suffix\">
                                                <a class=\"title\"
index f8a7f373d58ecd2a93c19399a7c3e2a3aa4f6639..bdb0e78e1e0d70bff26bc21d010851482f850730 100644 (file)
@@ -1836,7 +1836,7 @@ function initHeadlinesMenu() {
                if (!isCdmMode()) {
                        nodes = $$("#headlines-frame > div[id*=RROW]");
                } else {
-                       nodes = $$("#headlines-frame span[id*=RTITLE]");
+                       nodes = $$("#headlines-frame span[className='hlTitle']");
                }
 
                nodes.each(function(node) {