mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Add HTML5 ReplayGain Track support
This commit is contained in:
parent
e911ae8815
commit
33bb01afbf
10 changed files with 160 additions and 42 deletions
|
@ -1,17 +1,23 @@
|
|||
function loadContentData(data, status, jqXHR)
|
||||
{
|
||||
var $mainContent = $("#content");
|
||||
var $pageWrap = $("#guts");
|
||||
var $response = $(data);
|
||||
|
||||
$mainContent.empty().append($response.find("#guts"));
|
||||
$mainContent.fadeIn(200, function() {
|
||||
$pageWrap.animate({
|
||||
height: $mainContent.height() + "px"
|
||||
});
|
||||
});
|
||||
$("a[rel^='prettyPhoto']").prettyPhoto({social_tools:false});
|
||||
initTabs();
|
||||
|
||||
if ($response.find("#guts").length === 0) {
|
||||
$("body").undelegate("a");
|
||||
$("body").undelegate("form");
|
||||
$("body").empty().append($response);
|
||||
} else {
|
||||
var $mainContent = $("#content");
|
||||
var $pageWrap = $("#guts");
|
||||
$mainContent.empty().append($response.find("#guts"));
|
||||
$mainContent.fadeIn(200, function() {
|
||||
$pageWrap.animate({
|
||||
height: $mainContent.height() + "px"
|
||||
});
|
||||
});
|
||||
$("a[rel^='prettyPhoto']").prettyPhoto({social_tools:false});
|
||||
initTabs();
|
||||
}
|
||||
}
|
||||
|
||||
function loadContentPage(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue