From: Tom Hughes Date: Wed, 3 Jun 2009 09:18:20 +0000 (+0000) Subject: Removed test for IE as we don't use the result anymore. X-Git-Tag: live~7251 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/972363baf6688f82ba3b7aa8d54a4747b5f290a2?hp=4a93c5de4b6a35d47afe20ad61724289b3fd02ac Removed test for IE as we don't use the result anymore. --- diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index ccec7a022..8c8ea9df5 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -61,7 +61,6 @@ zoom='14' if zoom.nil? var fo = new SWFObject("/potlatch/potlatch.swf?d="+Math.round(Math.random()*1000), "potlatch", "100%", "100%", "6", "#FFFFFF"); // 700,600 for fixed size, 100%,100% for resizable var changesaved=true; - var winie=false; if (document.all && window.print) { winie=true; } window.onbeforeunload=function() { if (!changesaved) {