Browse Source

Force close all tooltips when closing sharing menu

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/546/head
John Molakvoæ (skjnldsv) 3 months ago
parent
commit
28551e0f4d
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      js/vendor/nextcloud/share.js

+ 3
- 1
js/vendor/nextcloud/share.js View File

@@ -495,7 +495,8 @@
.tooltip('hide')
.tooltip({
placement: 'bottom',
trigger: 'manual'
trigger: 'manual',
trackTooltip: true
})
.tooltip('fixTitle')
.tooltip('show');
@@ -805,6 +806,7 @@
*/
hideDropDown: function (callback) {
this.currentShares = null;
$('[data-original-title]').tooltip('hide');
$('#dropdown').slideUp(OC.menuSpeed, function () {
Gallery.Share.droppedDown = false;
$('#dropdown').remove();

Loading…
Cancel
Save