Just deleted about 400 bot accounts and a bunch of spam. To mitigate this in the future, we've enabled reCaptcha on signup. Let me know if someone got caught in the crossfire.

Commit dd037406 authored by D3athrow's avatar D3athrow
Browse files

good job pomf

parent ca4e7682
......@@ -344,10 +344,21 @@ function switchTo(i)
//$("document").height("800px");
}
}
var defaultzoom = 4;
function changeZoom(offset){
$('#uiMap').style.zoom = Math.min(Math.max($('#uiMap').style.zoom + zoom, 0),12);
defaultzoom = Math.max(defaultzoom + (offset*2), 1);
var uiMapObject = $('#uiMap');
var uiMapWidth = uiMapObject.width() * defaultzoom;
var uiMapHeight = uiMapObject.height() * defaultzoom;
uiMapObject.css({
zoom: defaultzoom,
left: '50%',
top: '50%',
marginLeft: '-' + Math.floor(uiMapWidth / 2) + 'px',
marginTop: '-' + Math.floor(uiMapHeight / 2) + 'px'
});
}
function changezlevels()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment