Skip to content

Commit

Permalink
Im stupid :(
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonMoon2 committed Jan 16, 2024
1 parent df4efdf commit d39e760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const promptList = [
];

function loadPrompt() {
const promptNum = Math.floor(Math.random * promptList.length);
const promptNum = Math.floor(Math.random() * promptList.length);
document.getElementById("prompt").innerHTML = promptList[promptNum];
}

0 comments on commit d39e760

Please sign in to comment.