Skip to content

Commit

Permalink
change url
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnysp committed Sep 21, 2020
1 parent 9668e07 commit b022a29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Resources/contao/widgets/PositionSelectorField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ class PositionSelectorField extends Widget
public function generate()
{

$GLOBALS['TL_JAVASCRIPT'][] = '//www.openlayers.org/api/OpenLayers.js';
$GLOBALS['TL_JAVASCRIPT'][] = '//openlayers.org/api/OpenLayers.js';

$olmapname = 'olmap'.$this->__get('currentRecord');



echo '<div class="tl_text" id="'.$olmapname .'_canvas" style="width:auto; height:300px;"></div>
<script type="text/javascript">
Expand Down

0 comments on commit b022a29

Please sign in to comment.