diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 567908e59e3f..3f4b4f75585a 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -61,8 +61,6 @@ let Ci = Components.interfaces; let Cu = Components.utils; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); -Cu.import("resource://gre/modules/DownloadUtils.jsm"); -Cu.import("resource://gre/modules/PluralForm.jsm"); const kXULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; @@ -6051,6 +6049,10 @@ let DownloadMonitorPanel = { * Initialize the status panel and member variables */ init: function DMP_init() { + // Load the modules to help display strings + Cu.import("resource://gre/modules/DownloadUtils.jsm"); + Cu.import("resource://gre/modules/PluralForm.jsm"); + // Initialize "private" member variables this._panel = document.getElementById("download-monitor");