mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
This commit is contained in:
parent
f444d9f3a4
commit
ed32b51cef
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ class Statistics extends ObjectYPT
|
||||||
if ($res !== false) {
|
if ($res !== false) {
|
||||||
foreach ($fullData as $row) {
|
foreach ($fullData as $row) {
|
||||||
$row['when'] = humanTimingAgo($row['created_php_time']);
|
$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['listItem'] = Video::getVideosListItem($row['videos_id']);
|
||||||
$row['img'] = '<img src="' . $row['poster'] . '" class="img img-responsive"/>';
|
$row['img'] = '<img src="' . $row['poster'] . '" class="img img-responsive"/>';
|
||||||
$rows[] = $row;
|
$rows[] = $row;
|
||||||
|
|
|
@ -248,7 +248,7 @@ async function YPTHidenavbar() {
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var menuOpen = Cookies.get("menuOpen");
|
var menuOpen = Cookies.get("menuOpen");
|
||||||
if (menuOpen === "true") {
|
if (menuOpen === "true" && !inIframe()) {
|
||||||
YPTSidebarOpen();
|
YPTSidebarOpen();
|
||||||
} else {
|
} else {
|
||||||
YPTSidebarClose();
|
YPTSidebarClose();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue