Remove unnecessary semicolons in JS code

This commit is contained in:
Carsten Grohmann 2021-07-15 20:34:13 +02:00
parent d5f07c92ad
commit bddbb3b149

View File

@ -185,7 +185,7 @@ function goBack() {
window.addEventListener('DOMContentLoaded', function() { window.addEventListener('DOMContentLoaded', function() {
let dropArea = document.getElementById('input'); let dropArea = document.getElementById('input');
dropArea.addEventListener('drop', file_dragged, false); dropArea.addEventListener('drop', file_dragged, false);
}); })
// Event handler triggered if a file has been dragged // Event handler triggered if a file has been dragged
function file_dragged(event) { function file_dragged(event) {
@ -193,7 +193,7 @@ function file_dragged(event) {
event.preventDefault() event.preventDefault()
read_and_display_file(file) read_and_display_file(file)
return true; return true;
}; }
// Read and display local file // Read and display local file
function read_and_display_file(file) { function read_and_display_file(file) {