X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3db77411b8e0e91b1e15aa5e1b6178242288c451..285d61bf4cd6cd93e6ae0f4905db9faf4a6f71f5:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index a41a80176..fc1f78ce4 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -39,6 +39,7 @@ var fo = new SWFObject("/potlatch/potlatch.swf?d="+Math.round(Math.random()*1000), "potlatch", "700", "600", "6", "#FFFFFF"); function doSWF(lat,lon,sc) { + if (sc < 11) sc = 11; fo.addVariable('lat',lat); fo.addVariable('long',lon); fo.addVariable('scale',sc);