1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 21:01:27 +00:00

disable feed toolbar catchup button when catchup is not applicable

This commit is contained in:
Andrew Dolgov
2005-10-17 04:25:44 +01:00
parent b6644d296a
commit a7de14fce1
3 changed files with 15 additions and 1 deletions

View File

@@ -77,6 +77,13 @@ function viewfeed(feed, skip, subop, doc) {
disableContainerChildren("headlinesToolbar", false, doc);
var btnMarkAsRead = doc.getElementById("btnMarkFeedAsRead");
if (btnMarkAsRead && (feed < 0 || !isNumeric(feed))) {
btnMarkAsRead.disabled = true;
btnMarkAsRead.className = "disabledButton";
}
// notify("");
}