This commit is contained in:
Jiiks 2015-10-24 21:01:15 +03:00
parent 0b0932329f
commit 3df9651f0b
2 changed files with 4 additions and 4 deletions

View File

@ -379,9 +379,9 @@ QuickEmoteMenu.prototype.initEmoteList = function() {
emoteMenu.append(emoteMenuHeader);
emoteMenu.append(emoteMenuBody);
for(var emote in emotesTwitch) {
for(var emote in emotesTwitch.emotes) {
var command = emote;
var id = emotesTwitch[emote];
var id = emotesTwitch.emotes[emote].image_id;
emoteMenuBody.append($("<div/>" , { class: "emote-container" }).append($("<img/>", { class: "emote-icon", id: emote, src: "https://static-cdn.jtvnw.net/emoticons/v1/"+id+"/1.0", title: emote })));
}

View File

@ -78,9 +78,9 @@ QuickEmoteMenu.prototype.initEmoteList = function() {
emoteMenu.append(emoteMenuHeader);
emoteMenu.append(emoteMenuBody);
for(var emote in emotesTwitch) {
for(var emote in emotesTwitch.emotes) {
var command = emote;
var id = emotesTwitch[emote];
var id = emotesTwitch.emotes[emote].image_id;
emoteMenuBody.append($("<div/>" , { class: "emote-container" }).append($("<img/>", { class: "emote-icon", id: emote, src: "https://static-cdn.jtvnw.net/emoticons/v1/"+id+"/1.0", title: emote })));
}