diff --git a/lib/OpenLayers/Console.js b/lib/OpenLayers/Console.js index bfb40163ff..ec42af93d4 100644 --- a/lib/OpenLayers/Console.js +++ b/lib/OpenLayers/Console.js @@ -233,10 +233,10 @@ OpenLayers.Console = { * If Firebug Lite is included (before this script), re-route all * OpenLayers.Console calls to the console object. */ - if(window.console) { - var scripts = document.getElementsByTagName("script"); - for(var i=0, len=scripts.length; i