map doesn't work
Description
Map doesn't work: TypeError: can't assign to property "width" on "height: 100%; width: 100%": not an object
The problem happens in vue-leaflet.js
, where there is a render
function, getting a parameter (e
), which should be an object, containing style
also as an object.
Instead, style
is a text containing "height: 100%; width: 100%"
, which crashes render
which checks whether e
parameter has a style attribute, but does not expect it to be a string, tries to directly change it and javascript pukes.
If I fix it manually in the debug console to e={}
it works, but I don't know where in the source this would be.
Steps to Reproduce
- select an event
- click "show map"
- empty screen, error in console
Reproduces how often:
100%
Versions
v3.1.3 (https://mobilizon.grin.hu/about/instance)
Additional Information
Multiple people have reported this [on matrix] after upgrading to 3.1.3.