openstreetmap-polska / ua-2022-map

Map of reception points for refugees near Polish-Ukrainian border
https://dopomoha.pl
MIT License
37 stars 11 forks source link

Uncaught TypeError: invalid assignment to const 'popupHTML' #72

Closed Ancymonek closed 2 years ago

Ancymonek commented 2 years ago

Describe the bug When I click some donation drop points (i.e. https://dopomoha.pl/pl/#map=19/51.1590035/17.1652147) I don't get pop-up and there is console error 'Uncaught TypeError: invalid assignment to const 'popupHTML'

To Reproduce Steps to reproduce the behavior:

  1. Click on some donation drop point (green circle) (https://dopomoha.pl/pl/#map=19/51.1590035/17.1652147, https://dopomoha.pl/en/#map=19/51.1798651/17.1944652)
  2. Nothing happens
  3. 'Uncaught TypeError: invalid assignment to const 'popupHTML' appears in a browser console

Expected behavior I see valid popup with details (title, description, buttons)

Screenshots obraz obraz

Desktop (please complete the following information):