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/files/js/mainfileinfodetailview.js | |
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/files/js/mainfileinfodetailview.js')
-rw-r--r-- | apps/files/js/mainfileinfodetailview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index f73b6a55568..93ca40af2b4 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -72,13 +72,13 @@ var $el = $(e.trigger); $el.tooltip('hide') .attr('data-original-title', t('core', 'Copied!')) - .tooltip('fixTitle') + .tooltip('_fixTitle') .tooltip({placement: 'bottom', trigger: 'manual'}) .tooltip('show'); _.delay(function() { $el.tooltip('hide'); $el.attr('data-original-title', t('files', 'Copy direct link (only works for users who have access to this file/folder)')) - .tooltip('fixTitle'); + .tooltip('_fixTitle'); }, 3000); }); clipboard.on('error', function(e) { |