Fix a stupid error due to a hasty commit
Forgot to change the respective links in each different type of emote's case
This commit is contained in:
parent
ba091dac54
commit
c1d38d1edd
|
@ -260,7 +260,7 @@ EmoteModule.prototype.injectEmote = function(node) {
|
||||||
if(typeof emotesFfz !== 'undefined' && settingsCookie["bda-es-1"]) {
|
if(typeof emotesFfz !== 'undefined' && settingsCookie["bda-es-1"]) {
|
||||||
if(emotesFfz.hasOwnProperty(word)) {
|
if(emotesFfz.hasOwnProperty(word)) {
|
||||||
if (settingsCookie["bda-es-6"]) {
|
if (settingsCookie["bda-es-6"]) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, '<img title="' + word.substr(0, word.length/2) + "\uFDD9" + word.substr(word.length/2) + '" src="' + twitchEmoteUrlStart + emotesTwitch.emotes[word].image_id + twitchEmoteUrlEnd + '" />');
|
parentInnerHTML = parentInnerHTML.replace(word, '<img title="' + word.substr(0, word.length/2) + "\uFDD9" + word.substr(word.length/2) + '" src="' + ffzEmoteUrlStart + emotesFfz[word] + ffzEmoteUrlEnd + '" />');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -273,7 +273,7 @@ EmoteModule.prototype.injectEmote = function(node) {
|
||||||
if(typeof emotesBTTV !== 'undefined' && settingsCookie["bda-es-2"]) {
|
if(typeof emotesBTTV !== 'undefined' && settingsCookie["bda-es-2"]) {
|
||||||
if(emotesBTTV.hasOwnProperty(word)) {
|
if(emotesBTTV.hasOwnProperty(word)) {
|
||||||
if (settingsCookie["bda-es-6"]) {
|
if (settingsCookie["bda-es-6"]) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, '<img title="' + word.substr(0, word.length/2) + "\uFDD9" + word.substr(word.length/2) + '" src="' + twitchEmoteUrlStart + emotesTwitch.emotes[word].image_id + twitchEmoteUrlEnd + '" />');
|
parentInnerHTML = parentInnerHTML.replace(word, '<img title="' + word.substr(0, word.length/2) + "\uFDD9" + word.substr(word.length/2) + '" src="' + emotesBTTV[word] + '" />');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -285,7 +285,7 @@ EmoteModule.prototype.injectEmote = function(node) {
|
||||||
|
|
||||||
if (subEmotesTwitch.hasOwnProperty(word)) {
|
if (subEmotesTwitch.hasOwnProperty(word)) {
|
||||||
if (settingsCookie["bda-es-6"]) {
|
if (settingsCookie["bda-es-6"]) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, '<img title="' + word.substr(0, word.length/2) + "\uFDD9" + word.substr(word.length/2) + '" src="' + twitchEmoteUrlStart + emotesTwitch.emotes[word].image_id + twitchEmoteUrlEnd + '" />');
|
parentInnerHTML = parentInnerHTML.replace(word, '<img title="' + word.substr(0, word.length/2) + "\uFDD9" + word.substr(word.length/2) + '" src="' + twitchEmoteUrlStart + subEmotesTwitch[word] + twitchEmoteUrlEnd + '" />');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue