|
@ -38,7 +38,6 @@ const {Services} = Cu.import('resource://gre/modules/Services.jsm', null); |
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
var vAPI = self.vAPI = self.vAPI || {}; |
|
|
var vAPI = self.vAPI = self.vAPI || {}; |
|
|
vAPI.isMainProcess = true; |
|
|
|
|
|
vAPI.firefox = true; |
|
|
vAPI.firefox = true; |
|
|
vAPI.fennec = Services.appinfo.ID === '{aa3c5121-dab2-40e2-81ca-7ea25febc110}'; |
|
|
vAPI.fennec = Services.appinfo.ID === '{aa3c5121-dab2-40e2-81ca-7ea25febc110}'; |
|
|
|
|
|
|
|
@ -1855,7 +1854,7 @@ vAPI.optionsObserver = { |
|
|
register: function () { |
|
|
register: function () { |
|
|
var obs = Components.classes['@mozilla.org/observer-service;1'].getService(Components.interfaces.nsIObserverService); |
|
|
var obs = Components.classes['@mozilla.org/observer-service;1'].getService(Components.interfaces.nsIObserverService); |
|
|
obs.addObserver(this, "addon-options-displayed", false); |
|
|
obs.addObserver(this, "addon-options-displayed", false); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cleanupTasks.push(this.unregister.bind(this)); |
|
|
cleanupTasks.push(this.unregister.bind(this)); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|