Skip to content

Commit

Permalink
Fix forceRaw / altPrinting upgrade routine (qzind#901)
Browse files Browse the repository at this point in the history
Closes qzind#898
  • Loading branch information
tresf authored Jan 7, 2022
1 parent 4c7d33f commit 918dcf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/qz-tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,8 @@ var qz = (function() {
config.rasterize = true;
}
}
if(_qz.tools.versionCompare(2, 1, 4) < 0) {
if(config.forceRaw) {
if(_qz.tools.versionCompare(2, 2) < 0) {
if(config.forceRaw !== 'undefined') {
config.altPrinting = config.forceRaw;
delete config.forceRaw;
}
Expand Down

0 comments on commit 918dcf3

Please sign in to comment.