fix one more place

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-16 14:13:22 +02:00 committed by John Molakvoæ
parent 872483f279
commit 908adb339b

View file

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