summaryrefslogtreecommitdiff
path: root/offline.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-12 16:40:52 +0300
committerAndrew Dolgov <[email protected]>2009-02-12 16:40:52 +0300
commit183c0864eac08e353e1fc8f51c8b08f7cf4f8da6 (patch)
tree343ac772c5789b02d9273768be153975b33ff1b1 /offline.js
parent79e565a97568cea2fc8a235c83b2f2f5fc556a6f (diff)
offline: do not disable local store
Diffstat (limited to 'offline.js')
-rw-r--r--offline.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/offline.js b/offline.js
index 974fa7491..a16bbf625 100644
--- a/offline.js
+++ b/offline.js
@@ -566,7 +566,6 @@ function render_offline_feedlist() {
function init_offline() {
try {
offline_mode = true;
- store.enabled = true;
Element.hide("dispSwitchPrompt");
Element.hide("feedBrowserPrompt");
@@ -1017,8 +1016,7 @@ function init_gears() {
store = localServer.createManagedStore("tt-rss");
store.manifestUrl = "manifest.json.php";
store.checkForUpdate();
- store.enabled = false;
-
+
db = google.gears.factory.create('beta.database');
db.open('tt-rss');