summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-04 09:39:01 +0300
committerAndrew Dolgov <[email protected]>2009-02-04 09:39:01 +0300
commit2a0dc5f90275d68dc167db9c299e510fae09fed8 (patch)
tree8c8b5bba071608b8a353aca7fc93c6c216d771a4
parent6a4a39b95eaec3d41266aada271a0fc9b129f460 (diff)
viewfeed_offline: fix for undefined offset parameter
-rw-r--r--feedlist.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js
index e6599a148..4609a2338 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -191,6 +191,8 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
try {
notify('');
+ if (!offset) offset = 0;
+
loading_set_progress(100);
clean_feed_selections();