From 7d3e6f271368ba7aab10dd3eef11bcba463fb5b3 Mon Sep 17 00:00:00 2001 From: srebughini Date: Thu, 11 Jan 2024 15:58:51 +0100 Subject: [PATCH] Add beer quotes --- assets/js/quote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/quote.js b/assets/js/quote.js index dfa40a6..0f9db6f 100644 --- a/assets/js/quote.js +++ b/assets/js/quote.js @@ -1,5 +1,5 @@ function getQuote() { - let randomQuote = beerq.BeerQuote.getRandomQuote(); + let randomQuote = beerq.BeerQuote().getRandomQuote(); document.getElementById("quote").innerHTML = "" + randomQuote.quote + ""; document.getElementById("author").innerHTML = randomQuote.author; }