From c286e288c368290ac2c6ea1cf73ac069b80fac52 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Sat, 24 Oct 2015 21:05:12 +0300 Subject: [PATCH] empty alt for missing emotes --- devjs/main.js | 2 +- devjs/quickemotemenu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devjs/main.js b/devjs/main.js index 4e483e6..f4aa07a 100644 --- a/devjs/main.js +++ b/devjs/main.js @@ -383,7 +383,7 @@ QuickEmoteMenu.prototype.initEmoteList = function() { var command = emote; var id = emotesTwitch.emotes[emote].image_id; - emoteMenuBody.append($("
" , { class: "emote-container" }).append($("", { class: "emote-icon", id: emote, src: "https://static-cdn.jtvnw.net/emoticons/v1/"+id+"/1.0", title: emote }))); + emoteMenuBody.append($("
" , { class: "emote-container" }).append($("", { class: "emote-icon", id: emote, alt: "", src: "https://static-cdn.jtvnw.net/emoticons/v1/"+id+"/1.0", title: emote }))); } } diff --git a/devjs/quickemotemenu.js b/devjs/quickemotemenu.js index 1f0c9ca..52d4a66 100644 --- a/devjs/quickemotemenu.js +++ b/devjs/quickemotemenu.js @@ -82,6 +82,6 @@ QuickEmoteMenu.prototype.initEmoteList = function() { var command = emote; var id = emotesTwitch.emotes[emote].image_id; - emoteMenuBody.append($("
" , { class: "emote-container" }).append($("", { class: "emote-icon", id: emote, src: "https://static-cdn.jtvnw.net/emoticons/v1/"+id+"/1.0", title: emote }))); + emoteMenuBody.append($("
" , { class: "emote-container" }).append($("", { class: "emote-icon", id: emote, alt: "", src: "https://static-cdn.jtvnw.net/emoticons/v1/"+id+"/1.0", title: emote }))); } } \ No newline at end of file