diff --git a/tt-rss.js b/tt-rss.js index 1dd79c5f7..24c80435b 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -1479,7 +1479,7 @@ function feedBrowserSubscribe() { function init_gears() { try { - if (google.gears) { + if (window.google && google.gears) { localServer = google.gears.factory.create("beta.localserver"); store = localServer.createManagedStore("tt-rss"); db = google.gears.factory.create('beta.database');