Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #548 from nextcloud/backport/546/stable16
Browse files Browse the repository at this point in the history
[stable16] Force close all tooltips when closing sharing menu
  • Loading branch information
rullzer authored Oct 30, 2019
2 parents 6fb52e4 + 8c6284f commit 7c4ad89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/vendor/nextcloud/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@
.tooltip('hide')
.tooltip({
placement: 'bottom',
trigger: 'manual'
trigger: 'manual',
trackTooltip: true
})
.tooltip('fixTitle')
.tooltip('show');
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 7c4ad89

Please sign in to comment.