Commit 726032f4 authored by fred's avatar fred
Browse files

js: remove playlist sorting if jqueryui is not loaded

parent 632cdc91
......@@ -230,6 +230,7 @@ $(function() {
});
}
if (typeof $().sortable !== 'undefined') {
var $localList = $('#localList').playlist({
controlContainer: $('<div>',{'class':"playListControls"}).sortable(),
playlistContainer: $('<ol>',{id:"myPlaylist",'class':"custom"}).sortable(),
......@@ -271,6 +272,7 @@ $(function() {
}
}
});
}
init = function() {
$("#All a, #All area").removeClass('loading');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment