mirror of https://github.com/calzoneman/sync.git
parent
f9efad01ea
commit
d102ca8815
|
@ -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--;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,6 +97,7 @@ html, body {
|
|||
|
||||
#messagebuffer {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
height: 347px;
|
||||
border: 1px solid #aaaaaa; // AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
|
||||
border-left: 0;
|
||||
|
|
|
@ -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() != "") {
|
||||
if(opts.customjs != CUSTOMJS) {
|
||||
$.getScript(opts.customjs);
|
||||
CUSTOMJS = opts.customjs;
|
||||
}
|
||||
}
|
||||
|
||||
CHANNELOPTS = opts;
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue