diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2005-08-25 07:57:51 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2005-08-25 07:57:51 +0100 |
| commit | 13ad91024c057611f66f6599d4ed0bef5ff939fb (patch) | |
| tree | 0d6ff3cb2262512c42fafc3fca3384169d74a518 /tt-rss.js | |
| parent | 78800912937468fc68219b0ae1190edc049282b7 (diff) | |
more piggies! I demand MORE piggies!!!
Diffstat (limited to 'tt-rss.js')
| -rw-r--r-- | tt-rss.js | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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); } |