This commit is contained in:
Calvin Montgomery 2019-02-23 21:23:21 -08:00
parent c6f9b1611e
commit 367df3d70b
3 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
"version": "3.63.2",
"version": "3.63.3",
"repository": {
"url": "http://github.com/calzoneman/sync"
},

View file

@ -41,7 +41,6 @@ var socket = {
console.log(arguments);
}
};
var IGNORED = [];
var CHATHIST = [];
var CHATHISTIDX = 0;
var CHATTHROTTLE = false;
@ -110,6 +109,8 @@ function getOrDefault(k, def) {
return v;
}
var IGNORED = getOrDefault("ignorelist", []);
var USEROPTS = {
theme : getOrDefault("theme", DEFAULT_THEME), // Set in head template
layout : getOrDefault("layout", "fluid"),

View file

@ -226,6 +226,7 @@ function addUserDropdown(entry) {
IGNORED.splice(IGNORED.indexOf(name), 1);
entry.removeClass("userlist-ignored");
}
setOpt("ignorelist", IGNORED);
});
if(IGNORED.indexOf(name) == -1) {
entry.removeClass("userlist-ignored");