Bringing up patches from trunk to branch for RC3. -r8012:HEAD. (Closes #1594) (Closes #1730) (Closes #1735) (Closes #1738) (Closes #1740)
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.7@8038 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -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<len; ++i) {
|
||||
if(scripts[i].src.indexOf("firebug.js") != -1) {
|
||||
var scripts = document.getElementsByTagName("script");
|
||||
for(var i=0, len=scripts.length; i<len; ++i) {
|
||||
if(scripts[i].src.indexOf("firebug.js") != -1) {
|
||||
if(console) {
|
||||
OpenLayers.Util.extend(OpenLayers.Console, console);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user