diff options
author | Andrew Dolgov <[email protected]> | 2008-06-24 08:43:20 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-06-24 08:43:20 +0100 |
commit | a598370dde80604280f1a9708f8427902f376209 (patch) | |
tree | 351e7617d5245abfc672c3fc0895c0e054ba232f /viewfeed.js | |
parent | d16d57ff2b8742c51516fefccc8495260d4738c7 (diff) |
add low bandwidth mode (less automatic requests in the background)
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js index 758fa6ad9..6e788cff3 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1562,6 +1562,8 @@ function preload_article_callback(transport) { function preloadArticleUnderPointer(id) { try { + if (getInitParam("bw_limit") == "1") return; + if (post_under_pointer == id && !cache_check(id)) { debug("trying to preload article " + id); |