From 395b6f1c0ad894f6c024cbc3a09c293c63504d55 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 28 Aug 2018 12:53:13 -0400 Subject: [PATCH] class renaming --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 6fb1e9f..c45c479 100644 --- a/main.js +++ b/main.js @@ -119,7 +119,7 @@ document.querySelectorAll("#clickFile input")[0].onchange = function() { function fileDrop(e) { e.preventDefault(); - document.getElementById("setCont").className = ""; + document.getElementById("setCont").className = "transition"; if(e.dataTransfer.items) { type = e.dataTransfer.items; } else { @@ -162,12 +162,12 @@ function fileDrop(e) { function fileDrag(e) { e.preventDefault(); - document.getElementById("setCont").className = "ondrag"; + document.getElementById("setCont").className = "ondrag transition"; } function fileDragLeave(e) { e.preventDefault(); - document.getElementById("setCont").className = ""; + document.getElementById("setCont").className = "transition"; } function loadSVGStatus(processing) {