mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Can upload custom emoji
This commit is contained in:
@ -782,4 +782,13 @@ function IsFullScreen(){
|
||||
document.webkitFullscreenElement ||
|
||||
document.mozFullScreenElement ||
|
||||
document.msFullscreenElement;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check an emoji code
|
||||
*
|
||||
* @param s The emoji code to check
|
||||
*/
|
||||
function checkEmojiCode(s) {
|
||||
return s.match(/^:[a-zA-Z0-9]+:$/) != null
|
||||
}
|
Reference in New Issue
Block a user