Tuesday, September 28, 2010

Firebug console issue solution

Apparently if(console) is not enough and can cause an error in some versions of Firebug.

The solution is:

if(

navigator.appName == "Netscape" &&

window.console !== undefined &&

window.console !== null

)

No comments: