1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

add a simple appearing preview for unexpanded cdm and normal mode

This commit is contained in:
Andrew Dolgov
2013-03-25 16:08:20 +04:00
parent 4cdb81737a
commit d2f3467bb6
6 changed files with 98 additions and 4 deletions

View File

@@ -413,7 +413,7 @@ class Feeds extends Handler_Protected {
}
}
$mouseover_attrs = "onmouseover='postMouseIn($id)'
$mouseover_attrs = "onmouseover='postMouseIn(event, $id)'
onmouseout='postMouseOut($id)'";
$reply['content'] .= "<div class='$class' id='RROW-$id' $label_row_style $mouseover_attrs>";
@@ -512,7 +512,7 @@ class Feeds extends Handler_Protected {
}
}
$mouseover_attrs = "onmouseover='postMouseIn($id)'
$mouseover_attrs = "onmouseover='postMouseIn(event, $id)'
onmouseout='postMouseOut($id)'";
$expanded_class = $expand_cdm ? "expanded" : "";
@@ -537,7 +537,6 @@ class Feeds extends Handler_Protected {
onclick=\"return cdmClicked(event, $id);\"
class=\"titleWrap$hlc_suffix\">
<a class=\"title\"
title=\"".htmlspecialchars($line['title'])."\"
target=\"_blank\" href=\"".
htmlspecialchars($line["link"])."\">".
$line["title"] .