Skip to content

Commit

Permalink
Merge pull request #41 from FAC-Sixteen/remove-random-listener
Browse files Browse the repository at this point in the history
remove randome event listener
  • Loading branch information
jokosanyang authored Mar 22, 2019
2 parents 114bc1f + 44708b8 commit 1e4869e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/scripts/functions/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit 1e4869e

Please sign in to comment.