Skip to content

Commit f2061de

Browse files
author
corvis
committed
On initialized will be invoked after initial location set
1 parent fe4d7df commit f2061de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/locationpicker.jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,11 @@
316316
});
317317
GmUtility.setPosition(gmapContext, new google.maps.LatLng(settings.location.latitude, settings.location.longitude), function(context){
318318
updateInputValues(settings.inputBinding, gmapContext);
319-
context.settings.oninitialized($target);
320319
var currentLocation = GmUtility.locationFromLatLng(gmapContext.location);
321320
//settings.onchanged.apply(gmapContext.domContainer, [currentLocation, context.radius, false]);
322321
// Set up input bindings if needed
323322
setupInputListenersInput(settings.inputBinding, gmapContext);
323+
context.settings.oninitialized($target);
324324
});
325325
});
326326
};

0 commit comments

Comments
 (0)