From a9a7378a896311cbf0dc67e020a6f679317cbb17 Mon Sep 17 00:00:00 2001 From: Bob Owen Date: Wed, 1 Mar 2017 12:12:02 +0000 Subject: [PATCH] Bug 1141756 Part 2: Correct removal of Printing:Preview:Entered message listener. r=mconley --- toolkit/components/printing/content/printUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/printing/content/printUtils.js b/toolkit/components/printing/content/printUtils.js index f2ea8dfdefe5..7943d1a7f92e 100644 --- a/toolkit/components/printing/content/printUtils.js +++ b/toolkit/components/printing/content/printUtils.js @@ -561,7 +561,7 @@ var PrintUtils = { } let onEntered = (message) => { - mm.removeMessageListener("Printing:PrintPreview:Entered", onEntered); + mm.removeMessageListener("Printing:Preview:Entered", onEntered); if (message.data.failed) { // Something went wrong while putting the document into print preview