diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-07-25 22:10:21 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-07-25 22:10:21 +0200 |
commit | 56cff46dc32a0049840bb09f1769413eace064d6 (patch) | |
tree | b2a11c737e2671251954d09c6e567601c6a39524 /core/js/js.js | |
parent | 1e48eb88828acd10e53bbb727fbe306b09400ebe (diff) | |
download | nextcloud-server-56cff46dc32a0049840bb09f1769413eace064d6.tar.gz nextcloud-server-56cff46dc32a0049840bb09f1769413eace064d6.zip |
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
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js index 226fea3a3cb..2cc50dfb198 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'); |