init_gears: properly check whether gears is installed
This commit is contained in:
parent
e0999d95c3
commit
d92d7f02ad
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue