stop propagation when opening and closing a popup box

This commit is contained in:
Uwe Steinmann 2020-03-04 20:38:20 +01:00
parent 083820e42d
commit 8546b48230

View File

@ -1139,6 +1139,7 @@ $(document).ready(function() { /* {{{ */
$("body").on("click", "span.openpopupbox", function(e) {
$(""+$(e.target).data("href")).toggle();
e.stopPropagation();
});
$("body").on("click", "span.openpopupbox i", function(e) {
$(e.target).parent().click();
@ -1148,6 +1149,7 @@ $(document).ready(function() { /* {{{ */
});
$("body").on("click", "span.closepopupbox", function(e) {
$(this).parent().hide();
e.stopPropagation();
});
}); /* }}} */