mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
Updated for new emoticon srcSet.
This commit is contained in:
parent
216a82aa5a
commit
e1cfb17081
7 changed files with 21 additions and 17 deletions
|
@ -19,6 +19,7 @@ var FFZ = window.FrankerFaceZ,
|
|||
"\\:-?D": ":-D",
|
||||
"\\:-?(o|O)": ":-O",
|
||||
"\\>\\;\\(": ">(",
|
||||
"Gr(a|e)yFace": "GrayFace"
|
||||
},
|
||||
|
||||
get_emotes = function(ffz) {
|
||||
|
@ -114,6 +115,9 @@ FFZ.menu_pages.my_emotes = {
|
|||
var a = (KNOWN_CODES[a.code] ? "000" + KNOWN_CODES[a.code] : a.code).toLowerCase(),
|
||||
b = (KNOWN_CODES[b.code] ? "000" + KNOWN_CODES[b.code] : b.code).toLowerCase();
|
||||
|
||||
if ( a == "000grayface" ) a = "grayface";
|
||||
if ( b == "000grayface" ) b = "grayface";
|
||||
|
||||
if ( a < b ) return -1;
|
||||
else if ( a > b ) return 1;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue