diff --git a/pentadactyl/content/config.js b/pentadactyl/content/config.js index 507741d8..00e65748 100644 --- a/pentadactyl/content/config.js +++ b/pentadactyl/content/config.js @@ -76,7 +76,7 @@ const Config = Module("config", ConfigBase, { preferences: ["Show Firefox preferences dialog", function () { window.openPreferences(); }], printpreview: ["Preview the page before printing", - function () { PrintUtils.printPreview(onEnterPrintPreview, onExitPrintPreview); }], + function () { PrintUtils.printPreview(window.PrintPreviewListener || onEnterPrintPreview, window.onExitPrintPreview); }], printsetup: ["Setup the page size and orientation before printing", function () { PrintUtils.showPageSetup(); }], print: ["Show print dialog",