Skip to content

Commit 764a58f

Browse files
committed
#72 fixed incorrect order of onchanged and updateInputValues methods
1 parent aa9d77a commit 764a58f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/locationpicker.jquery.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jquery-locationpicker - v0.1.13 - 2016-09-15 */
1+
/*! jquery-locationpicker - v0.1.13 - 2016-09-16 */
22
(function($) {
33
function GMapContext(domElement, options) {
44
var _map = new google.maps.Map(domElement, options);
@@ -327,8 +327,8 @@
327327
function displayMarkerWithSelectedArea() {
328328
GmUtility.setPosition(gmapContext, gmapContext.marker.position, function(context) {
329329
var currentLocation = GmUtility.locationFromLatLng(gmapContext.location);
330-
context.settings.onchanged.apply(gmapContext.domContainer, [ currentLocation, context.radius, true ]);
331330
updateInputValues(gmapContext.settings.inputBinding, gmapContext);
331+
context.settings.onchanged.apply(gmapContext.domContainer, [ currentLocation, context.radius, true ]);
332332
});
333333
}
334334
if (settings.markerInCenter) {

dist/locationpicker.jquery.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)