Problem/Motivation

The geolocation_leaflet/leaflet.fullscreen library js files can load before the leaflet library itself, which leads to js errors. (On some environments it works fine for me, on others it breaks.)

Proposed resolution

Add geolocation_leaflet/geolocation.leaflet to the geolocation_leaflet/leaflet.fullscreen's dependencies.

CommentFileSizeAuthor
#2 geolocation-fullscreen-3177883-2.patch719 bytesczigor

Comments

czigor created an issue. See original summary.

czigor’s picture

StatusFileSize
new719 bytes

Not sure what I did but now it works everywhere. Still, just by looking at the code, the fullscreen js seems to depend on the leaflet library. So adding the patch just in case it happens again.

czigor’s picture

Status: Active » Needs review

  • czigor authored 6a70da8 on 8.x-3.x
    Issue #3177883 by czigor: leaflet.fullscreen library dependency
    
christianadamski’s picture

Status: Needs review » Fixed

Altered the patch a bit to depend on leaflet itself directly.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.