Fixed bug where you can't change viewing channels on frontpage when navigating back and forth

This commit is contained in:
Kasper Rynning-Tønnesen
2017-04-29 16:46:31 +02:00
parent ee846b7dff
commit 36592d55f9
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -323,6 +323,7 @@ var Frontpage = {
} }
$("body").css("background-color", "#2d2d2d"); $("body").css("background-color", "#2d2d2d");
$("#offline-mode").tooltip("remove"); $("#offline-mode").tooltip("remove");
currently_showing_channels = 1;
$.ajax({ $.ajax({
url: new_channel + "/public/php/index.php", url: new_channel + "/public/php/index.php",