Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Fixed small typo causing "undefined" to display
Browse files Browse the repository at this point in the history
  • Loading branch information
Riley Wilson committed Apr 21, 2023
1 parent f1bc90d commit c4d395d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/js/emotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function getFFZEmotes(id) {
}

// create the emote in the panel
let x = createEmote(emote.code, src, `ffzEmotes`, `<img src=${src.toString()}><br><b>${emote.name.toString()}</b><br>By: ${emote.owner.display_name.toString()}`)
let x = createEmote(emote.name, src, `ffzEmotes`, `<img src=${src.toString()}><br><b>${emote.name.toString()}</b><br>By: ${emote.owner.display_name.toString()}`)

// when the emote is clicked, show it's details
x.addEventListener("click", () => {
Expand Down

0 comments on commit c4d395d

Please sign in to comment.