Skip to content

Commit

Permalink
Clear isPrinting flag after unsuccessful custom print
Browse files Browse the repository at this point in the history
  • Loading branch information
Falke-Design authored and Igor-Vladyka committed Dec 5, 2024
1 parent 07e3072 commit ebe11d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/leaflet.browser.print.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ L.BrowserPrint = L.Class.extend({
delete this.options.custom;
} else {
this._clearPrint();
this._map.isPrinting = false;
}
},
_removeAutoPolygon: function(){
Expand Down

0 comments on commit ebe11d1

Please sign in to comment.