mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 00:29:21 +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;
|
var LSdebug_active = 0;
|
||||||
|
|
||||||
function LSdebug() {
|
function LSdebug(arguments) {
|
||||||
if (LSdebug_active != 1) return;
|
if (LSdebug_active != 1) return;
|
||||||
if (typeof console == 'undefined') return;
|
if (typeof console != 'undefined')
|
||||||
console.log.apply(this, arguments);
|
console.log(arguments);
|
||||||
|
if (typeof opera != 'undefined')
|
||||||
|
opera.postError(arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue