mirror of https://github.com/calzoneman/sync.git
Implement #797
This commit is contained in:
parent
c6f9b1611e
commit
367df3d70b
|
@ -2,7 +2,7 @@
|
||||||
"author": "Calvin Montgomery",
|
"author": "Calvin Montgomery",
|
||||||
"name": "CyTube",
|
"name": "CyTube",
|
||||||
"description": "Online media synchronizer and chat",
|
"description": "Online media synchronizer and chat",
|
||||||
"version": "3.63.2",
|
"version": "3.63.3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
|
|
@ -41,7 +41,6 @@ var socket = {
|
||||||
console.log(arguments);
|
console.log(arguments);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var IGNORED = [];
|
|
||||||
var CHATHIST = [];
|
var CHATHIST = [];
|
||||||
var CHATHISTIDX = 0;
|
var CHATHISTIDX = 0;
|
||||||
var CHATTHROTTLE = false;
|
var CHATTHROTTLE = false;
|
||||||
|
@ -110,6 +109,8 @@ function getOrDefault(k, def) {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var IGNORED = getOrDefault("ignorelist", []);
|
||||||
|
|
||||||
var USEROPTS = {
|
var USEROPTS = {
|
||||||
theme : getOrDefault("theme", DEFAULT_THEME), // Set in head template
|
theme : getOrDefault("theme", DEFAULT_THEME), // Set in head template
|
||||||
layout : getOrDefault("layout", "fluid"),
|
layout : getOrDefault("layout", "fluid"),
|
||||||
|
|
|
@ -226,6 +226,7 @@ function addUserDropdown(entry) {
|
||||||
IGNORED.splice(IGNORED.indexOf(name), 1);
|
IGNORED.splice(IGNORED.indexOf(name), 1);
|
||||||
entry.removeClass("userlist-ignored");
|
entry.removeClass("userlist-ignored");
|
||||||
}
|
}
|
||||||
|
setOpt("ignorelist", IGNORED);
|
||||||
});
|
});
|
||||||
if(IGNORED.indexOf(name) == -1) {
|
if(IGNORED.indexOf(name) == -1) {
|
||||||
entry.removeClass("userlist-ignored");
|
entry.removeClass("userlist-ignored");
|
||||||
|
|
Loading…
Reference in New Issue