mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Automatically assuming small player if in iframe
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var Channel = {
|
||||
init: function() {
|
||||
if(window.location.hash == "#small") {
|
||||
if(window.location.hash == "#small" || inIframe()) {
|
||||
small_player = true;
|
||||
document.querySelector("footer").style.display = "none";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user