1
0
Fork 0
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:
SirStendec 2015-04-15 21:00:52 -04:00
parent 216a82aa5a
commit e1cfb17081
7 changed files with 21 additions and 17 deletions

View file

@ -19,6 +19,7 @@ var FFZ = window.FrankerFaceZ,
"\\:-?D": ":-D",
"\\:-?(o|O)": ":-O",
"\\&gt\\;\\(": ">(",
"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;