* limit range for iframe modal triggers.

This commit is contained in:
Hao Sun
2021-10-29 14:11:03 +08:00
parent 0e1910bf9a
commit a755136ee9
+1 -1
View File
@@ -595,7 +595,7 @@ $(function()
if(browseType == 'all' || browseType == 'task') createKanban('task', kanbanGroup.task, commonOptions);
/* Init iframe modals */
$(document).on('click', '.iframe', function(event)
$(document).on('click', '#kanbans .iframe,.contextmenu-menu .iframe', function(event)
{
$(this).modalTrigger({show: true, width: '500px'});
event.preventDefault();