diff options
author | Henry Castro <hcastro@collabora.com> | 2020-03-11 10:47:34 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-03-12 12:05:07 +0100 |
commit | 42d0f8079f3124bf567c8f5473c0bbc1cb82d143 (patch) | |
tree | f536070a5e1fb112aa03c7346667244fa8da3d16 | |
parent | 7f9b8029f4ff9ef7b0b1aa6703ad1cb54fe39ed0 (diff) |
loleaflet: fix printing document in IE11
Change-Id: I816ba7209ebfe8d051cbd6cef054245b9ab08950
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90334
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90367
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | loleaflet/src/layer/tile/TileLayer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index b940567dc..c70012314 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -593,7 +593,7 @@ L.TileLayer = L.GridLayer.extend({ this._map.hideBusy(); if (command.id === 'print') { - if (L.Browser.gecko || L.Browser.edge || this._map.options.print === false) { + if (L.Browser.gecko || L.Browser.edge || L.Browser.ie || this._map.options.print === false) { // the print dialog doesn't work well on firefox // due to a pdf.js issue - https://github.com/mozilla/pdf.js/issues/5397 // open the pdf file in a new tab so that that user can print it directly in the browser's |