open popupbox even if title is an <i> tag

This commit is contained in:
Uwe Steinmann 2017-01-18 08:31:34 +01:00
parent b8d4d12f4e
commit 75d8413832

View File

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