Browse Source

Remove unnecessary fallback code for downloading

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
f3d62969ee
  1. 3
      platform/firefox/vapi-background.js

3
platform/firefox/vapi-background.js

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

Loading…
Cancel
Save