Implement #797
This commit is contained in:
parent
c6f9b1611e
commit
367df3d70b
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue