mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 05:55:45 +01:00
Closes issue #925.
--HG-- extra : source : 4cc88ef4f1f032faef1d49959de12003e905a9e9
This commit is contained in:
@@ -182,9 +182,10 @@ var Storage = Module("Storage", {
|
||||
init: function () {
|
||||
this.cleanup();
|
||||
|
||||
if (services.bootstrap && !services.bootstrap.session)
|
||||
services.bootstrap.session = {};
|
||||
this.session = services.bootstrap ? services.bootstrap.session : {};
|
||||
let { Services } = Cu.import("resource://gre/modules/Services.jsm", {});
|
||||
if (!Services.dactylSession)
|
||||
Services.dactylSession = {};
|
||||
this.session = Services.dactylSession;
|
||||
},
|
||||
|
||||
cleanup: function () {
|
||||
|
||||
Reference in New Issue
Block a user