Skip to content

Commit

Permalink
Fix delete modal popping up too often
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
Atlasfreak committed Jan 24, 2023
1 parent c9fe7fa commit 13e506f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/templates/results.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ function create_data_tables() {
},
"initComplete": function(settings, json) {
init_controls();
delete_init("name", "delete_participant.php", "participant_id", "table");
},
});
}
Expand Down Expand Up @@ -239,6 +238,7 @@ function init_controls() {

$(function() {
create_data_tables();
delete_init("name", "delete_participant.php", "participant_id", "table");
});
</script>
<?=$this->end()?>

0 comments on commit 13e506f

Please sign in to comment.