]> git.wh0rd.org Git - tt-rss.git/commitdiff
Revert "remove RTITLE"
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 6 Apr 2013 21:09:46 +0000 (01:09 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 6 Apr 2013 21:09:46 +0000 (01:09 +0400)
This reverts commit ecac674adebce15fa8921b8c86cda2dba6ee7c34.

classes/feeds.php
js/viewfeed.js

index be5470922d8fa73ef72abee86553582758895cc7..ed0785c092af25f17457ac1f735ec9aa62dcea73 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='hlTitle hlContent$hlc_suffix'>";
-                                       $reply['content'] .= "<a class=\"title\"
+                                               class=\"hlTitle\"><span class='hlContent$hlc_suffix'>";
+                                       $reply['content'] .= "<a id=\"RTITLE-$id\" 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
+                                       $reply['content'] .= "<span id=\"RTITLE-$id\"
                                                onclick=\"return cdmClicked(event, $id);\"
                                                class=\"titleWrap$hlc_suffix\">
                                                <a class=\"title\"
index bdb0e78e1e0d70bff26bc21d010851482f850730..f8a7f373d58ecd2a93c19399a7c3e2a3aa4f6639 100644 (file)
@@ -1836,7 +1836,7 @@ function initHeadlinesMenu() {
                if (!isCdmMode()) {
                        nodes = $$("#headlines-frame > div[id*=RROW]");
                } else {
-                       nodes = $$("#headlines-frame span[className='hlTitle']");
+                       nodes = $$("#headlines-frame span[id*=RTITLE]");
                }
 
                nodes.each(function(node) {