Skip to content

Commit

Permalink
Make sure selecting the same file again raises 'change' again.
Browse files Browse the repository at this point in the history
Without it, the event was fired on Firefox 128, but not on Chrome 129.
  • Loading branch information
foxik committed Oct 25, 2024
1 parent 03c52f1 commit 05c1771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/lindat-service/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ function saveTree() {
reader.readAsText(file);
}
}
this.value = ''; // Make sure selecting the same file will fire 'change' handler again
});

jQuery(document).on('show.bs.tab', '#output_table_link', showTable);
Expand Down

0 comments on commit 05c1771

Please sign in to comment.