Last active
December 11, 2015 03:48
-
-
Save objectivehtml/4540145 to your computer and use it in GitHub Desktop.
$(document).ready(function() { var Gmap = GmapGlobal.object[0]; var fieldName = 'member_location'; if(Gmap.settings.field_name == fieldName) { Gmap.bind('gmapInit', function(Gmap) { }); } });
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function() { | |
| var Gmap = GmapGlobal.object[0]; | |
| var fieldName = 'member_location'; | |
| if(Gmap.settings.field_name == fieldName) { | |
| Gmap.bind('gmapInit', function(Gmap) { | |
| alert("init"); | |
| }); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment