fix one more place

Signed-off-by: Simon L <szaimen@e.mail.de>
pull/38852/head
Simon L 2023-06-16 14:13:22 +07:00 committed by John Molakvoæ
parent 872483f279
commit 908adb339b
1 changed files with 2 additions and 2 deletions

@ -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')
}