fixed typo

This commit is contained in:
boombuler 2013-02-25 21:19:46 +01:00
parent a392c04469
commit 664c2595cf

View File

@ -53,7 +53,7 @@ window.plugin.maxLinks.updateLayer = function() {
var nloc = { x: loc.lngE6, y: loc.latE6 }; var nloc = { x: loc.lngE6, y: loc.latE6 };
if (nloc.x < minX) if (nloc.x < minX)
minX = nloc.x; minX = nloc.x;
if (nloc.y < minX) if (nloc.y < minY)
minY = nloc.y; minY = nloc.y;
locations.push(nloc); locations.push(nloc);
}); });
@ -81,7 +81,7 @@ window.plugin.maxLinks.updateLayer = function() {
window.renderUpdateStatus(); window.renderUpdateStatus();
} }
var setup = function() { var setup = function() {
load(delaunayScriptLocation).thenRun(function() { load(delaunayScriptLocation).thenRun(function() {
window.delaunay.Triangle.prototype.draw = function(layer, divX, divY) { window.delaunay.Triangle.prototype.draw = function(layer, divX, divY) {