Skip to content

Commit

Permalink
Edited based on comments of pull request
Browse files Browse the repository at this point in the history
I have changed the things you mentioned in the pull request comments
  • Loading branch information
maximilianhurl committed Aug 17, 2012
1 parent fc0ae74 commit 1be5ba9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions googlemap/static/javascript/django.googlemap.js
Expand Up @@ -18,8 +18,8 @@
query: {
submit: {
src: "/static/image/django.googlemap.submit.png",
alt: "Submid address to map",
title: "Submid address to map"
alt: "Submit address to map",
title: "Submit address to map"
},
loading: {
src: "/static/image/django.googlemap.loading.gif",
Expand Down Expand Up @@ -52,7 +52,7 @@
var $longitude = $surface.attr('longitudeID') ? $("#" + $surface.attr('longitudeID')) : undefined;
var $zoom = $surface.attr('zoomID') ? $("#" + $surface.attr('zoomID')) : undefined;
var $query = $surface.attr('queryID') ? $("#" + $surface.attr('queryID')) : undefined;
var $show = $('<a>').attr({href: 'javascript:void(0);'});
var $show = $('<a>').attr({href: "javascript:void(0);"});
var $hide = $('<a>').attr({href: "javascript:void(0);"});
var gmap;
var marker;
Expand All @@ -66,7 +66,7 @@
return latlng;
}
function placeMarker(location){
//var latlng = undefined;
var latlng;
if (location === undefined){
latlng = getInitialLocation();
}
Expand All @@ -83,7 +83,7 @@
var options = {
zoom: parseInt($surface.attr('zoom')),
scaleControl: false,
center:latlng,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};

Expand Down

0 comments on commit 1be5ba9

Please sign in to comment.