forked from MapComplete/MapComplete
Images didn't load. When getting to `v.startsWith(prefix)`, this would fail when `v` isn't a string. For example for node <http://127.0.0.1:1234/theme.html?layout=artwork&z=18.3&lat=51.14639600620251&lon=3.112295470573372#node/12800197366> we can see that the tags include `changeset: 165629229, uid: 14124839, version: 2`... There was already a check to see if there is a value (or was it meant as a check for empty string?), now we also check more specifically if this value is a string. Maybe `if (typeof(v) !== 'string')` would also work (without `!v || `), but then it won't match on empty string any more, and I don't know if that was the goal or not. |
||
|---|---|---|
| .. | ||
| Actors | ||
| FeatureSource | ||
| ImageProviders | ||
| Osm | ||
| Search | ||
| State | ||
| Tags | ||
| Web | ||
| BBox.ts | ||
| ContributorCount.ts | ||
| DetermineTheme.ts | ||
| ExtraFunctions.ts | ||
| GeoOperations.ts | ||
| Maproulette.ts | ||
| MetaTagging.ts | ||
| SimpleMetaTagger.ts | ||
| UIEventSource.ts | ||