From: Matthias Schmidt Date: Wed, 11 Dec 2013 17:50:56 +0000 (+0100) Subject: Adds missing marker focus after user position determination X-Git-Tag: 2.0.0~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fba1ceefa5dc87c5b92d32afcb21b29e58ae24db;p=GitHub%2FWoltLab%2FWCF.git Adds missing marker focus after user position determination --- diff --git a/wcfsetup/install/files/js/WCF.Location.js b/wcfsetup/install/files/js/WCF.Location.js index 0647324587..c9f6627b17 100644 --- a/wcfsetup/install/files/js/WCF.Location.js +++ b/wcfsetup/install/files/js/WCF.Location.js @@ -496,6 +496,7 @@ WCF.Location.GoogleMaps.LocationInput = Class.extend({ WCF.Location.Util.getLocation($.proxy(function(latitude, longitude) { if (latitude !== undefined && longitude !== undefined) { WCF.Location.GoogleMaps.Util.moveMarker(this._marker, latitude, longitude); + WCF.Location.GoogleMaps.Util.focusMarker(this._marker); } }, this)); }