diff --git a/plugin/VideosStatistics/Objects/Statistics.php b/plugin/VideosStatistics/Objects/Statistics.php index 39fb29bcc3..e4ec2bc397 100644 --- a/plugin/VideosStatistics/Objects/Statistics.php +++ b/plugin/VideosStatistics/Objects/Statistics.php @@ -158,7 +158,7 @@ class Statistics extends ObjectYPT if ($res !== false) { foreach ($fullData as $row) { $row['when'] = humanTimingAgo($row['created_php_time']); - $row['poster'] = Video::getPoster($row['videos_id']); + //$row['poster'] = Video::getPoster($row['videos_id']); $row['listItem'] = Video::getVideosListItem($row['videos_id']); $row['img'] = ''; $rows[] = $row; diff --git a/view/js/navbarLogged.js b/view/js/navbarLogged.js index a9f9a3a56b..e391d88646 100644 --- a/view/js/navbarLogged.js +++ b/view/js/navbarLogged.js @@ -248,7 +248,7 @@ async function YPTHidenavbar() { $(document).ready(function() { var menuOpen = Cookies.get("menuOpen"); - if (menuOpen === "true") { + if (menuOpen === "true" && !inIframe()) { YPTSidebarOpen(); } else { YPTSidebarClose();