Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Force close all tooltips when closing sharing menu
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv authored and Backportbot committed Oct 10, 2019
commit 8c6284f56088e4ef3bbccb79238e9ffe8514d704
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