diff options
author | Andrew Dolgov <[email protected]> | 2005-10-17 04:25:44 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-10-17 04:25:44 +0100 |
commit | a7de14fce1f8a895177465d44b4d90411338f122 (patch) | |
tree | d4d70ab5b43384234238690bab312bb55f49869b /tt-rss.js | |
parent | b6644d296a9e29a39e052a84324ccc806787a401 (diff) |
disable feed toolbar catchup button when catchup is not applicable
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -276,6 +276,13 @@ function viewfeed(feed, skip, subop) { disableContainerChildren("headlinesToolbar", false, doc); + var btnMarkAsRead = document.getElementById("btnMarkFeedAsRead"); + + if (btnMarkAsRead && (feed < 0 || !isNumeric(feed))) { + btnMarkAsRead.disabled = true; + btnMarkAsRead.className = "disabledButton"; + } + // notify(""); } |