Skip to content

Commit

Permalink
up main files
Browse files Browse the repository at this point in the history
  • Loading branch information
fgl27 committed Nov 12, 2023
1 parent f0e9117 commit 4d34bc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion release/githubio/js/master.js

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions release/githubio/js/master_uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -4710,14 +4710,7 @@
}

function ChatLive_seven_tv_getEmoteUrl(emoteBaseUrl, emote) {
var actualEmoteUrl = emoteBaseUrl;

// emote url is like //cdn.7tv.app/emote/5f5e0e9f8f0a1c3720f6e0e2
if (Main_startsWith(emoteBaseUrl, '//')) {
actualEmoteUrl = 'https://' + emoteBaseUrl;
}

return actualEmoteUrl + '/' + emote.name;
return (Main_startsWith(emoteBaseUrl, '//') ? 'https:' : '') + emoteBaseUrl + '/' + emote.name;
}

function ChatLive_seven_tv_filterEmoteFiles(emoteFiles) {
Expand Down

0 comments on commit 4d34bc0

Please sign in to comment.