By adding #small to the end of the link, the footer is gone and navigating out is disabled

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-22 11:40:13 +02:00
parent 2add5d4aae
commit ea01cc082a
3 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
var Channel = {
init: function() {
if(window.location.hash == "#small") {
small_player = true;
document.querySelector("footer").style.display = "none";
}
if(client) {
Helper.addClass(".tabs", "hide");
Helper.removeClass("#wrapper", "tabs_height");