Skip to content

Commit

Permalink
Merge pull request #515 from JeroenDeDauw/path
Browse files Browse the repository at this point in the history
Fix leaflet path
  • Loading branch information
JeroenDeDauw authored Nov 27, 2018
2 parents a187208 + 8291928 commit 47581a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LeafletService.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function getResourceModules() {
}

protected function getDependencies() {
$leafletPath = $GLOBALS['wgScriptPath'] . '/extensions/Maps/includes/services/Leaflet/leaflet';
$leafletPath = $GLOBALS['wgScriptPath'] . '/extensions/Maps/resources/leaflet/leaflet';
return [
Html::linkedStyle( "$leafletPath/leaflet.css" ),
Html::linkedScript( "$leafletPath/leaflet.js" ),
Expand Down

0 comments on commit 47581a3

Please sign in to comment.