1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 01:05:56 +00:00

more piggies! I demand MORE piggies!!!

This commit is contained in:
Andrew Dolgov
2005-08-25 07:57:51 +01:00
parent 7880091293
commit 13ad91024c
4 changed files with 59 additions and 27 deletions

View File

@@ -307,7 +307,22 @@ function update_title() {
//document.title = "Tiny Tiny RSS (" + total_unread + " unread)";
}
function localPiggieFunction(enable) {
if (enable) {
var query_str = "backend.php?op=feeds&subop=piggie";
if (xmlhttp.readyState == 4 || xmlhttp.readyState == 0) {
xmlhttp.open("GET", query_str, true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
}
}
}
function init() {
updateFeedList(false, false);
document.onkeydown = hotkey_handler;
setTimeout("timeout()", 1800*1000);
}