settings
This commit is contained in:
parent
5f49d9b7f2
commit
3f0bcd6a01
|
@ -67,10 +67,10 @@ EmoteModule.prototype.injectEmote = function(node) {
|
||||||
words.some(function(word) {
|
words.some(function(word) {
|
||||||
if (emotesTwitch.hasOwnProperty(word)) {
|
if (emotesTwitch.hasOwnProperty(word)) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + twitchEmoteUrlStart + emotesTwitch[word] + twitchEmoteUrlEnd + " title="+word+"><\/img>");
|
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + twitchEmoteUrlStart + emotesTwitch[word] + twitchEmoteUrlEnd + " title="+word+"><\/img>");
|
||||||
} else if(typeof emotesFfz !== 'undefined' && ffzEnabled) {
|
} else if(typeof emotesFfz !== 'undefined' && settingsCookie["bda-es-1"]) {
|
||||||
if(emotesFfz.hasOwnProperty(word)) {
|
if(emotesFfz.hasOwnProperty(word)) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + ffzEmoteUrlStart + emotesFfz[word] + ffzEmoteUrlEnd + " title="+word+"><\/img>");
|
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + ffzEmoteUrlStart + emotesFfz[word] + ffzEmoteUrlEnd + " title="+word+"><\/img>");
|
||||||
} else if(typeof emotesBTTV !== 'undefined' && bttvEnabled) {
|
} else if(typeof emotesBTTV !== 'undefined' && settingsCookie["bda-es-2"]) {
|
||||||
if(emotesBTTV.hasOwnProperty(word)) {
|
if(emotesBTTV.hasOwnProperty(word)) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + bttvEmoteUrlStart + emotesBTTV[word] + bttvEmoteUrlEnd + " title="+word+"><\/img>");
|
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + bttvEmoteUrlStart + emotesBTTV[word] + bttvEmoteUrlEnd + " title="+word+"><\/img>");
|
||||||
}
|
}
|
||||||
|
|
|
@ -198,10 +198,10 @@ EmoteModule.prototype.injectEmote = function(node) {
|
||||||
words.some(function(word) {
|
words.some(function(word) {
|
||||||
if (emotesTwitch.hasOwnProperty(word)) {
|
if (emotesTwitch.hasOwnProperty(word)) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + twitchEmoteUrlStart + emotesTwitch[word] + twitchEmoteUrlEnd + " title="+word+"><\/img>");
|
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + twitchEmoteUrlStart + emotesTwitch[word] + twitchEmoteUrlEnd + " title="+word+"><\/img>");
|
||||||
} else if(typeof emotesFfz !== 'undefined' && ffzEnabled) {
|
} else if(typeof emotesFfz !== 'undefined' && settingsCookie["bda-es-1"]) {
|
||||||
if(emotesFfz.hasOwnProperty(word)) {
|
if(emotesFfz.hasOwnProperty(word)) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + ffzEmoteUrlStart + emotesFfz[word] + ffzEmoteUrlEnd + " title="+word+"><\/img>");
|
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + ffzEmoteUrlStart + emotesFfz[word] + ffzEmoteUrlEnd + " title="+word+"><\/img>");
|
||||||
} else if(typeof emotesBTTV !== 'undefined' && bttvEnabled) {
|
} else if(typeof emotesBTTV !== 'undefined' && settingsCookie["bda-es-2"]) {
|
||||||
if(emotesBTTV.hasOwnProperty(word)) {
|
if(emotesBTTV.hasOwnProperty(word)) {
|
||||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + bttvEmoteUrlStart + emotesBTTV[word] + bttvEmoteUrlEnd + " title="+word+"><\/img>");
|
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + bttvEmoteUrlStart + emotesBTTV[word] + bttvEmoteUrlEnd + " title="+word+"><\/img>");
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue