1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:25:59 +00:00

fix bug in catchupPage button handling

This commit is contained in:
Andrew Dolgov
2005-08-29 08:56:12 +01:00
parent 7ff88e75bd
commit 40789bbf5d

View File

@@ -248,8 +248,10 @@ function catchupPage(feed) {
var button = document.getElementById("btnCatchupPage");
button.className = "disabledButton";
button.href = "";
if (button) {
button.className = "disabledButton";
button.href = "";
}
xmlhttp.open("GET", query_str, true);
xmlhttp.onreadystatechange=notify_callback;
@@ -397,8 +399,10 @@ function view(id,feed_id) {
if (unread_rows.length == 0) {
var button = document.getElementById("btnCatchupPage");
button.className = "disabledButton";
button.href = "";
if (button) {
button.className = "disabledButton";
button.href = "";
}
}
active_post_id = id;