Skip to content

Commit

Permalink
maint: Use new style class options.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Aug 26, 2024
1 parent 46f800b commit a157701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Pattern extends BasePattern {
await import("leaflet.awesome-markers");
await import("leaflet.fullscreen");

const options = (this.options = parser.parse(this.el));
const options = this.options;

const fitBoundsOptions = (this.fitBoundsOptions = {
maxZoom: options.zoom,
Expand Down

0 comments on commit a157701

Please sign in to comment.