From 908adb339bc67bc92328989bcc8a6993deefc4d3 Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 16 Jun 2023 14:13:22 +0200 Subject: [PATCH] fix one more place Signed-off-by: Simon L --- core/src/Polyfill/tooltip.js | 4 ++-- 1 file 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') } -- 2.39.5