diff options
author | Simon L <szaimen@e.mail.de> | 2023-06-16 14:13:22 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-06-24 16:54:11 +0200 |
commit | 908adb339bc67bc92328989bcc8a6993deefc4d3 (patch) | |
tree | 99fd852a7a6cad6a321e32ea6833e9a6d4ea6ac3 | |
parent | 872483f279732908d60d1a85abedcc8fb79a625a (diff) | |
download | nextcloud-server-908adb339bc67bc92328989bcc8a6993deefc4d3.tar.gz nextcloud-server-908adb339bc67bc92328989bcc8a6993deefc4d3.zip |
fix one more place
Signed-off-by: Simon L <szaimen@e.mail.de>
-rw-r--r-- | core/src/Polyfill/tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/Polyfill/tooltip.js b/core/src/Polyfill/tooltip.js index 452cb30305b..eeb52580957 100644 --- a/core/src/Polyfill/tooltip.js +++ b/core/src/Polyfill/tooltip.js @@ -31,13 +31,13 @@ $.prototype.tooltip = (function(tooltip) { } catch (ex) { if (ex instanceof TypeError && config === 'destroy') { if (window.TESTING === undefined) { - console.error('Deprecated call $.tooltip(\'destroy\') has been deprecated and should be removed') + OC.debug && console.debug('Deprecated call $.tooltip(\'destroy\') has been deprecated and should be removed') } return tooltip.call(this, 'dispose') } if (ex instanceof TypeError && config === 'fixTitle') { if (window.TESTING === undefined) { - console.error('Deprecated call $.tooltip(\'fixTitle\') has been deprecated and should be removed') + OC.debug && console.debug('Deprecated call $.tooltip(\'fixTitle\') has been deprecated and should be removed') } return tooltip.call(this, '_fixTitle') } |