This commit is contained in:
calzoneman 2013-05-06 11:24:55 -05:00
parent f9efad01ea
commit d102ca8815
4 changed files with 8 additions and 2 deletions

View File

@ -135,6 +135,7 @@ Channel.prototype.loadDump = function() {
this.filters[i].active = f.active;
}
}
this.broadcastChatFilters();
}
if(data.motd) {
this.motd = data.motd;
@ -889,7 +890,7 @@ Channel.prototype.jumpTo = function(pos) {
var old = this.position;
if(this.media && this.media.temp && old != pos) {
this.dequeue({pos: old, removeonly: true});
if(pos > old) {
if(pos > old && pos > 0) {
pos--;
}
}

View File

@ -97,6 +97,7 @@ html, body {
#messagebuffer {
overflow-y: scroll;
overflow-x: hidden;
height: 347px;
border: 1px solid #aaaaaa; // AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
border-left: 0;

View File

@ -91,7 +91,10 @@ function initCallbacks() {
$("#opt_allow_voteskip").prop("checked", opts.allow_voteskip);
$("#opt_voteskip_ratio").val(opts.voteskip_ratio);
if(opts.customjs.trim() != "") {
$.getScript(opts.customjs);
if(opts.customjs != CUSTOMJS) {
$.getScript(opts.customjs);
CUSTOMJS = opts.customjs;
}
}
CHANNELOPTS = opts;

View File

@ -30,6 +30,7 @@ var VHEIGHT = "377";
var IGNORED = [];
var KICKED = false;
var CHANNEL = "";
var CUSTOMJS = "";
var uname = readCookie("sync_uname");
var session = readCookie("sync_session");