mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 10:49:36 +02:00
This commit is contained in:
parent
d816ce621a
commit
a1a090f0b3
2 changed files with 36 additions and 11 deletions
|
@ -216,17 +216,7 @@ class CustomizeAdvanced extends PluginAbstract {
|
|||
.file_get_contents($global['systemRootPath'] . 'plugin/CustomizeAdvanced/autoHideNavbarInSeconds.js')
|
||||
. '</script>';
|
||||
}
|
||||
$content .= '
|
||||
<script>$(function () {
|
||||
$("#mainNavBar").on("show.autoHidingNavbar", function () {
|
||||
$("body").removeClass("nopadding");
|
||||
$("#mainFooter").slideDown();
|
||||
});
|
||||
|
||||
$("#mainNavBar").on("hide.autoHidingNavbar", function () {
|
||||
$("body").addClass("nopadding");
|
||||
$("#mainFooter").slideUp();
|
||||
});});</script>';
|
||||
$content .= '<script>'. file_get_contents($global['systemRootPath'] . 'plugin/CustomizeAdvanced/footer.js').'</script>';
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue