From 56cff46dc32a0049840bb09f1769413eace064d6 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 25 Jul 2015 22:10:21 +0200 Subject: [PATCH] Add `fallback` to shim Tipsy also supported the `fallback` element which will now not work anymore. To enhance compatibility we shall also implement it in the shim. Fixes https://github.com/owncloud/core/issues/17870 --- core/js/js.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/js/js.js b/core/js/js.js index 226fea3a3c..2cc50dfb19 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1888,6 +1888,8 @@ jQuery.fn.tipsy = function(argument) { } if(argument.title) { options.title = argument.title; + } else if(argument.fallback) { + options.title = argument.fallback; } // destroy old tooltip in case the title has changed jQuery.fn.tooltip.call(this, 'destroy');