mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 20:21:29 +00:00
fix bug in catchupPage button handling
This commit is contained in:
@@ -248,8 +248,10 @@ function catchupPage(feed) {
|
|||||||
|
|
||||||
var button = document.getElementById("btnCatchupPage");
|
var button = document.getElementById("btnCatchupPage");
|
||||||
|
|
||||||
|
if (button) {
|
||||||
button.className = "disabledButton";
|
button.className = "disabledButton";
|
||||||
button.href = "";
|
button.href = "";
|
||||||
|
}
|
||||||
|
|
||||||
xmlhttp.open("GET", query_str, true);
|
xmlhttp.open("GET", query_str, true);
|
||||||
xmlhttp.onreadystatechange=notify_callback;
|
xmlhttp.onreadystatechange=notify_callback;
|
||||||
@@ -397,9 +399,11 @@ function view(id,feed_id) {
|
|||||||
|
|
||||||
if (unread_rows.length == 0) {
|
if (unread_rows.length == 0) {
|
||||||
var button = document.getElementById("btnCatchupPage");
|
var button = document.getElementById("btnCatchupPage");
|
||||||
|
if (button) {
|
||||||
button.className = "disabledButton";
|
button.className = "disabledButton";
|
||||||
button.href = "";
|
button.href = "";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
active_post_id = id;
|
active_post_id = id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user