diff options
author | MichaIng <micha@dietpi.com> | 2021-09-13 16:44:08 +0200 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2021-09-26 22:18:20 +0200 |
commit | 3a36984f50476b19a471380665eaac01d92256ad (patch) | |
tree | d1a2b4be9f3d92cd7f23d94a0671933e60d28908 /apps/federatedfilesharing | |
parent | 277eaf41e7d5c946ec42b119723e041c3abf52bc (diff) | |
download | nextcloud-server-3a36984f50476b19a471380665eaac01d92256ad.tar.gz nextcloud-server-3a36984f50476b19a471380665eaac01d92256ad.zip |
Migrate deprecated toolip methods
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them.
Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/js/settings-personal.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/federatedfilesharing/js/settings-personal.js b/apps/federatedfilesharing/js/settings-personal.js index 6f01173807b..753e18daa65 100644 --- a/apps/federatedfilesharing/js/settings-personal.js +++ b/apps/federatedfilesharing/js/settings-personal.js @@ -31,13 +31,13 @@ window.addEventListener('DOMContentLoaded', function() { var $input = $(e.trigger); $input.tooltip('hide') .attr('data-original-title', t('core', 'Copied!')) - .tooltip('fixTitle') + .tooltip('_fixTitle') .tooltip({placement: 'bottom', trigger: 'manual'}) .tooltip('show'); _.delay(function() { $input.tooltip('hide') .attr('data-original-title', t('core', 'Copy')) - .tooltip('fixTitle'); + .tooltip('_fixTitle'); }, 3000); }); clipboard.on('error', function (e) { @@ -53,13 +53,13 @@ window.addEventListener('DOMContentLoaded', function() { $input.tooltip('hide') .attr('data-original-title', actionMsg) - .tooltip('fixTitle') + .tooltip('_fixTitle') .tooltip({placement: 'bottom', trigger: 'manual'}) .tooltip('show'); _.delay(function () { $input.tooltip('hide') .attr('data-original-title', t('core', 'Copy')) - .tooltip('fixTitle'); + .tooltip('_fixTitle'); }, 3000); }); |