mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed errors with navigating from and to a channel, and some mobile looks
This commit is contained in:
@@ -345,13 +345,12 @@ $(document).on("submit", ".channel-finder", function(e){
|
||||
return false;
|
||||
});
|
||||
|
||||
$(document).on("submit", "#base", function(e){
|
||||
$(document).on("submit", ".channel-finder-mobile", function(e){
|
||||
e.preventDefault();
|
||||
Nochan.to_channel($("#search-mobile").val());
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
$(document).on("change", 'input[class=remote_switch_class]', function()
|
||||
{
|
||||
Hostcontroller.change_enabled(document.getElementsByName("remote_switch")[0].checked);
|
||||
@@ -718,11 +717,11 @@ function onepage_load(){
|
||||
$("main").attr("class", "center-align container");
|
||||
$("body").attr("id", "");
|
||||
$("body").attr("style", "");
|
||||
$("header").html($($(e)[61]).html());
|
||||
$($(e)[63]).insertAfter("header");
|
||||
$($(e)[65]).insertAfter(".mega");
|
||||
if(Helper.mobilecheck()) $("main").html($($(e)[69]).html());
|
||||
else $("main").append($($($(e)[69]).html())[0]);
|
||||
$("header").html($($(e)[59]).html());
|
||||
$($(e)[61]).insertAfter("header");
|
||||
$($(e)[63]).insertAfter(".mega");
|
||||
if(Helper.mobilecheck()) $("main").html($($(e)[67]).html());
|
||||
else $("main").append($($($(e)[67]).html())[0]);
|
||||
$(".page-footer").removeClass("padding-bottom-extra");
|
||||
$(".page-footer").removeClass("padding-bottom-novideo");
|
||||
$("#favicon").attr("href", "static/images/favicon.png");
|
||||
|
||||
Reference in New Issue
Block a user