mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSdebug : Use LSdefault::log() function when console objects does not exist
This commit is contained in:
parent
4fff6863bc
commit
8715b5eb76
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ function LSdebug(arguments) {
|
|||
opera.postError(arguments);
|
||||
return true;
|
||||
}
|
||||
if (typeof varLSdefault != 'undefined') {
|
||||
varLSdefault.log(arguments);
|
||||
return true;
|
||||
}
|
||||
alert(arguments);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue