Merge pull request #17871 from owncloud/add-fallback-to-shim
Add `fallback` to shim
This commit is contained in:
commit
5b21ed805c
|
@ -1888,6 +1888,8 @@ jQuery.fn.tipsy = function(argument) {
|
||||||
}
|
}
|
||||||
if(argument.title) {
|
if(argument.title) {
|
||||||
options.title = argument.title;
|
options.title = argument.title;
|
||||||
|
} else if(argument.fallback) {
|
||||||
|
options.title = argument.fallback;
|
||||||
}
|
}
|
||||||
// destroy old tooltip in case the title has changed
|
// destroy old tooltip in case the title has changed
|
||||||
jQuery.fn.tooltip.call(this, 'destroy');
|
jQuery.fn.tooltip.call(this, 'destroy');
|
||||||
|
|
Loading…
Reference in New Issue