mirror of https://github.com/calzoneman/sync.git
Merge branch 'v2.0' of github.com:calzoneman/sync into v2.0
This commit is contained in:
commit
e400dac160
|
@ -908,9 +908,12 @@ Callbacks = {
|
|||
$("<i/>").addClass("icon-trash").appendTo(del);
|
||||
(function(li) {
|
||||
del.click(function() {
|
||||
socket.emit("deletePlaylist", {
|
||||
name: li.data("pl-name")
|
||||
});
|
||||
var go = confirm("Are you sure you want to delete playlist '" + li.data("pl-name") + "'?");
|
||||
if(go) {
|
||||
socket.emit("deletePlaylist", {
|
||||
name: li.data("pl-name")
|
||||
});
|
||||
}
|
||||
});
|
||||
})(li);
|
||||
if(hasPermission("playlistaddlist")) {
|
||||
|
|
|
@ -34,7 +34,7 @@ var CHANNEL = {
|
|||
|
||||
var PLAYER = false;
|
||||
var FLUIDLAYOUT = false;
|
||||
if($("ytapiplayer").length > 0) {
|
||||
if($("#ytapiplayer").length > 0) {
|
||||
var VWIDTH = $("#ytapiplayer").parent().css("width").replace("px", "");
|
||||
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue