From: Simon L Date: Fri, 16 Jun 2023 12:13:22 +0000 (+0200) Subject: fix one more place X-Git-Tag: v28.0.0beta1~837^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=908adb339bc67bc92328989bcc8a6993deefc4d3;p=nextcloud-server.git fix one more place Signed-off-by: Simon L --- 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') }