diff --git a/offline.js b/offline.js
index d9b32cf28..e146b55e1 100644
--- a/offline.js
+++ b/offline.js
@@ -166,6 +166,30 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
tmp += " ";
+ tmp += "" +
+ __("Actions...") + " " +
+ "";
+
+ tmp += "
";
+
+ var tog_unread_link = "";
+ var tog_marked_link = "";
+ var catchup_sel_link = "";
+ var catchup_feed_link = "";
+
+ tmp += "- "+__('Selection toggle:')+"
"+
+ "- "+__('Unread')+"
"+
+ "- "+__('Starred')+"
"+
+ "- "+__('Mark as read:')+"
"+
+ "- "+__('Selection')+"
";
+
+ tmp += "- "+__('Entire feed')+
+ "
";
+
+ tmp += "
";
+
tmp += "";
tmp += "";
diff --git a/tt-rss.js b/tt-rss.js
index f6eea6661..e5bcbf595 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -142,6 +142,10 @@ function backend_sanity_check_callback(transport) {
}
}
+ if (getURLParam("offline")) {
+ return init_offline();
+ }
+
var reply = transport.responseXML.firstChild.firstChild;
if (!reply) {