mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
stop propagation when opening and closing a popup box
This commit is contained in:
parent
083820e42d
commit
8546b48230
|
@ -1139,6 +1139,7 @@ $(document).ready(function() { /* {{{ */
|
||||||
|
|
||||||
$("body").on("click", "span.openpopupbox", function(e) {
|
$("body").on("click", "span.openpopupbox", function(e) {
|
||||||
$(""+$(e.target).data("href")).toggle();
|
$(""+$(e.target).data("href")).toggle();
|
||||||
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
$("body").on("click", "span.openpopupbox i", function(e) {
|
$("body").on("click", "span.openpopupbox i", function(e) {
|
||||||
$(e.target).parent().click();
|
$(e.target).parent().click();
|
||||||
|
@ -1148,6 +1149,7 @@ $(document).ready(function() { /* {{{ */
|
||||||
});
|
});
|
||||||
$("body").on("click", "span.closepopupbox", function(e) {
|
$("body").on("click", "span.closepopupbox", function(e) {
|
||||||
$(this).parent().hide();
|
$(this).parent().hide();
|
||||||
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
}); /* }}} */
|
}); /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user