From 2cdd59b1d4d54eff5cca4664984650ec30219ec7 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 12 Oct 2010 10:54:59 -0400 Subject: [PATCH] Fix :dia printpreview on FF4. Closes issue #75. --- pentadactyl/content/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",