mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-20 07:23:47 +01:00
- LSdebug() : Correction pour rendre cette méthode compatible avec Opera et
Google Chrome.
This commit is contained in:
parent
cd7fde3839
commit
0306515800
1 changed files with 5 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
|||
var LSdebug_active = 0;
|
||||
|
||||
function LSdebug() {
|
||||
function LSdebug(arguments) {
|
||||
if (LSdebug_active != 1) return;
|
||||
if (typeof console == 'undefined') return;
|
||||
console.log.apply(this, arguments);
|
||||
if (typeof console != 'undefined')
|
||||
console.log(arguments);
|
||||
if (typeof opera != 'undefined')
|
||||
opera.postError(arguments);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue