diff --git a/www/assets/css/ytsync.css b/www/assets/css/ytsync.css index 204ed1b8..5c768cb6 100644 --- a/www/assets/css/ytsync.css +++ b/www/assets/css/ytsync.css @@ -39,13 +39,6 @@ html, body { overflow-y: scroll; } -.videolist li { - margin: 2px 0 0 auto; - padding: 2px; - font-size: 8pt; - border: 1px solid #aaaaaa; // [](/w21) -} - .qe_btn { height: 20px; font-family: Monospace; @@ -85,10 +78,6 @@ html, body { font-size: 8pt; } -#queue { - margin-bottom: 0; -} - #usercountwrap, #currenttitle { border: 1px solid #aaaaaa; border-bottom: none; @@ -103,10 +92,24 @@ html, body { cursor: pointer; } -#leftpane-inner div.span12, #rightpane-inner div.span12 { +#leftpane-inner div.span12, #rightpane-inner div.span12, +#leftpane-inner ul, #rightpane-inner ul { margin-left: 0; } +#queue { + margin-bottom: 0; +} + +.queue_entry { + cursor: row-resize; + background-color: #ffffff; + margin: 2px 0 0 auto; + padding: 2px; + font-size: 8pt; + border: 1px solid #aaaaaa; // [](/w21) +} + #plmeta { border: 1px solid #aaaaaa; background-color: #ffffff; diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index b560d72d..66fe6864 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -11,14 +11,15 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI Callbacks = { + /* fired when socket connection completes */ connect: function() { socket.emit("joinChannel", { - name: CHANNEL + name: CHANNEL.name }); if(uname && session) { socket.emit("login", { - name: uname, - session: session + name: NAME, + session: SESSION }); } $("
").addClass("server-msg-reconnect") @@ -34,7 +35,7 @@ Callbacks = { .addClass("server-msg-disconnect") .text("Disconnected from server. Attempting reconnection...") .appendTo($("#messagebuffer")); - $("#messagebuffer").scrollTop($("#messagebuffer").prop("scrollHeight")); + scrollChat(); }, errorMsg: function(data) { @@ -42,15 +43,9 @@ Callbacks = { }, announcement: function(data) { - $("#announcerow").html(""); - $("#announcerow").css("display", ""); - var div = $("
").addClass("alert") - .appendTo($("#announcerow")); - $("