Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make popup selector consistent (CO-2236)
arlen committed Oct 5, 2021
1 parent 5abce17 commit d692de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/element/javascript.php
@@ -119,7 +119,7 @@
$("#user-panel").hide();
}
// Hide popovers on click outside but don't close current popover when interacting with content inside it
$('#content [data-original-title]').each(function () {
$('#content [data-toggle="popover"]').each(function () {
if (!$(this).is(e.target) && $('.popover.show').has(e.target).length === 0) {
$(this).popover('hide');
}

0 comments on commit d692de5

Please sign in to comment.