Skip to content

Commit

Permalink
Add beer quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
srebughini committed Jan 11, 2024
1 parent d846306 commit 7d3e6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/quote.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function getQuote() {
let randomQuote = beerq.BeerQuote.getRandomQuote();
let randomQuote = beerq.BeerQuote().getRandomQuote();
document.getElementById("quote").innerHTML = "<i>" + randomQuote.quote + "</i>";
document.getElementById("author").innerHTML = randomQuote.author;
}
Expand Down

0 comments on commit 7d3e6f2

Please sign in to comment.