Skip to content

Commit

Permalink
Fix contact tab UI and behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Jun 18, 2024
1 parent aee0310 commit e443b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/qsm-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4123,14 +4123,14 @@ var import_button;
var $popups = $('.qsm-contact-form-field-settings');

// Function to hide all popups
function hideAllPopups() {
function qsmHideAllPopups() {
$popups.hide();
}

// Close popup on document click if popup is open and clicking outside
$(document).on('click', function(event) {
if (!$settingsFields.is(event.target) && $settingsFields.has(event.target).length === 0) {
hideAllPopups();
qsmHideAllPopups();
}
});

Expand Down

0 comments on commit e443b72

Please sign in to comment.