User:KockaAdmiralac/chat.js

if(wgUserGroups.includes("threadmoderator") || wgUserGroups.includes("chatmoderator") || wgUserGroups.includes("sysop")) var optionsInterval = setInterval(function {   if($("#chatOptionsButton").length > 0)    {        $('submit').insertAfter("#chatOptionsButton");        clearInterval(optionsInterval);    } }, 100);