mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 21:41:29 +00:00
init_gears: properly check whether gears is installed
This commit is contained in:
@@ -1479,7 +1479,7 @@ function feedBrowserSubscribe() {
|
|||||||
function init_gears() {
|
function init_gears() {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if (google.gears) {
|
if (window.google && google.gears) {
|
||||||
localServer = google.gears.factory.create("beta.localserver");
|
localServer = google.gears.factory.create("beta.localserver");
|
||||||
store = localServer.createManagedStore("tt-rss");
|
store = localServer.createManagedStore("tt-rss");
|
||||||
db = google.gears.factory.create('beta.database');
|
db = google.gears.factory.create('beta.database');
|
||||||
|
|||||||
Reference in New Issue
Block a user