mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-29 00:01:27 +00:00
only enable bottom actions toolbar in headlines, when headlines list scrolls
This commit is contained in:
16
backend.php
16
backend.php
@@ -1385,9 +1385,18 @@
|
||||
return;
|
||||
}
|
||||
|
||||
function print_headline_subtoolbar($link, $feed_site_url, $feed_title) {
|
||||
function print_headline_subtoolbar($link, $feed_site_url, $feed_title,
|
||||
$bottom = false) {
|
||||
|
||||
print "<table class=\"headlinesSubToolbar\"
|
||||
if (!$bottom) {
|
||||
$class = "headlinesSubToolbar";
|
||||
$tid = "headlineActionsTop";
|
||||
} else {
|
||||
$class = "invisible";
|
||||
$tid = "headlineActionsBottom";
|
||||
}
|
||||
|
||||
print "<table class=\"$class\" id=\"$tid\"
|
||||
width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr>";
|
||||
|
||||
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
||||
@@ -1580,7 +1589,8 @@
|
||||
print "</table>";
|
||||
}
|
||||
|
||||
print_headline_subtoolbar($link, "javascript:catchupPage()", "Mark page as read");
|
||||
print_headline_subtoolbar($link,
|
||||
"javascript:catchupPage()", "Mark page as read", true);
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user