Skip to content

Commit

Permalink
fix add toilet modal
Browse files Browse the repository at this point in the history
  • Loading branch information
baditaflorin committed Jul 1, 2024
1 parent 16816f4 commit dec206c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osm-toilet-map/static/modal.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const showModal = (onConfirm, isEdit = false, editUrl = '') => {
const showModal = (onConfirm, isEdit = false, editUrl = '') => {
const modal = document.getElementById('source-modal');
modal.style.display = 'block';

Expand All @@ -24,7 +24,7 @@ export const showModal = (onConfirm, isEdit = false, editUrl = '') => {
};
};

export const hideModal = () => {
const hideModal = () => {
const modal = document.getElementById('source-modal');
modal.style.display = 'none';
};
Expand Down

0 comments on commit dec206c

Please sign in to comment.