loleaflet/src/layer/tile/TileLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 42d0f8079f3124bf567c8f5473c0bbc1cb82d143 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Wed Mar 11 10:47:34 2020 -0400 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Mar 12 12:05:07 2020 +0100 loleaflet: fix printing document in IE11 Change-Id: I816ba7209ebfe8d051cbd6cef054245b9ab08950 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90334 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Henry Castro <hcas...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90367 Reviewed-by: Andras Timar <andras.ti...@collabora.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits