From bddbb3b149e39ad19c27efa4b5582ce695f4e52f Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Thu, 15 Jul 2021 20:34:13 +0200 Subject: [PATCH] Remove unnecessary semicolons in JS code --- OOMAnalyser.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OOMAnalyser.html b/OOMAnalyser.html index 95988bb..1ed8f77 100644 --- a/OOMAnalyser.html +++ b/OOMAnalyser.html @@ -185,7 +185,7 @@ function goBack() { window.addEventListener('DOMContentLoaded', function() { let dropArea = document.getElementById('input'); dropArea.addEventListener('drop', file_dragged, false); -}); +}) // Event handler triggered if a file has been dragged function file_dragged(event) { @@ -193,7 +193,7 @@ function file_dragged(event) { event.preventDefault() read_and_display_file(file) return true; -}; +} // Read and display local file function read_and_display_file(file) {