Skip to content

Commit

Permalink
Fix two Google Maps JS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Oct 2, 2019
1 parent d113b80 commit d9ce0de
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ different releases and which versions of PHP and MediaWiki they support, see the
[platform compatibility tables](INSTALL.md#platform-compatibility-and-release-status).


## Maps 7.8.2

Released on October 2nd, 2019.

* Fixed recent Google Maps regression

## Maps 7.8.1

Released on October 2nd, 2019.
Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Maps",
"version": "7.8.1",
"version": "7.8.2",

"author": [
"[https://www.entropywins.wtf/mediawiki Jeroen De Dauw]",
Expand Down
2 changes: 1 addition & 1 deletion resources/GoogleMaps/ext.maps.googlemaps3.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.mapsGoogleList = [];
$( '.maps-googlemaps3' ).each( function() {
var $this = $( this );
window.mapsGoogleList.push(
$this.googlemaps( $.parseJSON( $this.find( 'div' ).text() ) )
$this.googlemaps( $.parseJSON( $this.find( 'div.mapdata' ).text() ) )
);
} );
}
Expand Down
2 changes: 1 addition & 1 deletion resources/GoogleMaps/ext.sm.googlemaps3ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if( typeof google === 'undefined' ) {
return;
}
$( window.maps.googlemapsList ).each( function( index, map ) {
$( window.mapsGoogleList ).each( function( index, map ) {
if( !map.options.ajaxquery || !map.options.ajaxcoordproperty ) {
return;
}
Expand Down

0 comments on commit d9ce0de

Please sign in to comment.