diff --git a/common/modules/help.jsm b/common/modules/help.jsm index dcda5d7c..a0cbda4c 100644 --- a/common/modules/help.jsm +++ b/common/modules/help.jsm @@ -457,7 +457,7 @@ var Help = Module("Help", { function () { modules.ex.helpall(); }); }, javascript: function init_javascript(dactyl, modules, window) { - modules.JavaScript.setCompleter([this.exportHelp], + modules.JavaScript.setCompleter([modules.help.exportHelp], [function (context, args) overlay.activeModules.completion.file(context)]); } }); diff --git a/pentadactyl/content/config.js b/pentadactyl/content/config.js index fbc33df1..490a7911 100644 --- a/pentadactyl/content/config.js +++ b/pentadactyl/content/config.js @@ -32,7 +32,7 @@ var Config = Module("config", ConfigBase, { function () { window.inspectDOMDocument(window.content.document); }, function () "inspectDOMDocument" in window], downloads: ["Manage Downloads", - function () { window.toOpenWindowByType("Download:Manager", "chrome://mozapps/content/downloads/downloads.xul", "chrome,dialog=no,resizable"); }], + function () { window.BrowserDownloadsUI(); }], history: ["List your history", function () { window.openDialog("chrome://browser/content/history/history-panel.xul", "History", "dialog,centerscreen,width=600,height=600"); }], openfile: ["Open the file selector dialog",