LSdebug : Use LSdefault::log() function when console objects does not exist

This commit is contained in:
Benjamin Renard 2009-10-29 21:59:55 +00:00
parent 4fff6863bc
commit 8715b5eb76

View file

@ -10,6 +10,10 @@ function LSdebug(arguments) {
opera.postError(arguments);
return true;
}
if (typeof varLSdefault != 'undefined') {
varLSdefault.log(arguments);
return true;
}
alert(arguments);
}