mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 16:15:46 +01:00
Fix 'online' option's getter
This commit is contained in:
@@ -438,7 +438,7 @@ const config = { //{{{
|
|||||||
getter: function ()
|
getter: function ()
|
||||||
{
|
{
|
||||||
const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService2);
|
const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService2);
|
||||||
return ioService.offline;
|
return !ioService.offline;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user