Skip to content

Commit

Permalink
Fix localizing script
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalacato committed Dec 5, 2024
1 parent 3049f8a commit ba41e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Openkaarten_Base_Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ function ( $marker ) {

// Enqueue the OpenStreetMap script.
wp_localize_script(
'owc_ok_geodata-openstreetmap',
'owc_ok-openstreetmap-geodata',
'leaflet_vars',
array(
'centerLat' => esc_attr( $center_lat ),
Expand Down

0 comments on commit ba41e30

Please sign in to comment.