diff options
Diffstat (limited to 'core/src/Polyfill/tooltip.js')
-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..925b67c3e8b 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.warn('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.warn('Deprecated call $.tooltip(\'fixTitle\') has been deprecated and should be removed') } return tooltip.call(this, '_fixTitle') } |