Skip to content

Commit

Permalink
fixed downloadJSON error (#1354)
Browse files Browse the repository at this point in the history
* auto-detect json from response refactor

* clean-up

* tweaks

* fix downloadJSON undefined

* refixed
  • Loading branch information
7malikk authored Feb 14, 2023
1 parent d4c5d12 commit b6ef8db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/leaflet.distortableimage.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ <h4>Share via email</h4>
<div class="offcanvas offcanvas-end" data-bs-backdrop="false" data-bs-keyboard="false" tabindex="1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
<div class="offcanvas-header">
<button type="button" id="restoreWelcomeModalBtn" class="btn btn-primary btn-md" data-bs-dismiss="offcanvas" aria-label="Close" title="Import images from collection URL">Import</button>

<button id="downloadJSON" type="button" class="btn btn-sm" aria-label="Save map" title="Save map in JSON format" >
<i class="fa fa-save fa-" style="font-size:24px" ></i>
</button>
Expand Down

0 comments on commit b6ef8db

Please sign in to comment.