jquery-popup-overlay
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -708,2 +708,8 @@ /*! | ||
var mousedownTarget; | ||
$(document).on('mousedown', function (event) { | ||
mousedownTarget = event.target; | ||
}); | ||
// Hide popup on click | ||
@@ -727,2 +733,3 @@ $(document).on('click', function (event) { | ||
&& !$(event.target).closest('#' + elementId).length | ||
&& !$(mousedownTarget).closest('#' + elementId).length | ||
&& event.which !== 2 | ||
@@ -729,0 +736,0 @@ && $(event.target).is(':visible')) { |
{ | ||
"name": "jquery-popup-overlay", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Lightweight modal popup overlay for jquery", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123987
1447