diff --git a/src/windows/PrinterProxy.js b/src/windows/PrinterProxy.js index c42e8de..e0fa74c 100644 --- a/src/windows/PrinterProxy.js +++ b/src/windows/PrinterProxy.js @@ -151,7 +151,7 @@ exports.onPrintTaskRequested = function (event) { } catch (e) {} task.oncompleted = function (e) { - exports._func(e.detail[0].completion == 3); + exports._func(e.detail[0].completion === 3); }; };