mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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) {
|
||||
$(""+$(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();
|
||||
});
|
||||
}); /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user