From 44708b8250cbe4cbc1730d9a45394207a112fb9d Mon Sep 17 00:00:00 2001 From: Samantha Dickeson Date: Fri, 22 Mar 2019 12:56:32 +0000 Subject: [PATCH] remove randome event listener Relates #20 --- src/scripts/functions/dom.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/scripts/functions/dom.js b/src/scripts/functions/dom.js index adcb7b6..3561de7 100644 --- a/src/scripts/functions/dom.js +++ b/src/scripts/functions/dom.js @@ -13,11 +13,3 @@ yodaForm.addEventListener("submit", e => { }); e.target[0].value = ""; }); - -yodaRandom.addEventListener("click", e => { - yodaSound.play(); - const input = ""; - advice (input, string => { - yodarise(string); - }); -});