diff options
author | Andrew Dolgov <[email protected]> | 2010-11-14 21:50:13 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-14 21:58:11 +0300 |
commit | 75c510323be9682951412510d82f97d838dcb3bf (patch) | |
tree | 803eb68df08ece6ce2f95758e0656aabd41e3544 /feedlist.js | |
parent | b71a7df9edd13af85733f89d854e7d834fa0a468 (diff) |
remove google gears
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/feedlist.js b/feedlist.js index 3df1bd80d..7dfaef952 100644 --- a/feedlist.js +++ b/feedlist.js @@ -67,8 +67,6 @@ function viewfeed(feed, subop, is_cat, offset) { try { if (is_cat == undefined) is_cat = false; - if (offline_mode) return viewfeed_offline(feed, subop, is_cat, offset); - // if (!offset) page_offset = 0; last_requested_article = 0; @@ -147,8 +145,6 @@ function viewfeed(feed, subop, is_cat, offset) { if (subop == "MarkAllRead") { - catchup_local_feed(feed, is_cat); - var show_next_feed = getInitParam("on_catchup_show_next_feed") == "1"; if (show_next_feed) { @@ -367,8 +363,6 @@ function toggleCollapseCat(cat) { { parameters: "backend.php?op=feeds&subop=collapse&cid=" + param_escape(cat) } ); - local_collapse_cat(cat); - } catch (e) { exception_error("toggleCollapseCat", e); } @@ -418,8 +412,6 @@ function feedlist_init() { document.onmousedown = mouse_down_handler; document.onmouseup = mouse_up_handler; - if (!offline_mode) setTimeout("timeout()", 1); - setTimeout("hotkey_prefix_timeout()", 5*1000); if (getActiveFeedId()) { @@ -579,10 +571,6 @@ function mouse_up_handler(e) { document.onselectstart = null; var e = $("headlineActionsBody"); if (e) Element.hide(e); - - var e = $("offlineModeDrop"); - if (e) Element.hide(e); - } } catch (e) { @@ -591,11 +579,7 @@ function mouse_up_handler(e) { } function request_counters_real() { - try { - - if (offline_mode) return; - console.log("requesting counters..."); var query = "?op=rpc&subop=getAllCounters&seq=" + next_seq(); @@ -683,11 +667,6 @@ function parse_counters(reply, scheduled_call) { var xmsg = elems[l].xmsg; if (id == "global-unread") { - - if (ctr > global_unread) { - offlineDownloadStart(1); - } - global_unread = ctr; updateTitle(); continue; |