diff --git a/view.php b/view.php index 4a8e91e..747b928 100644 --- a/view.php +++ b/view.php @@ -41,7 +41,8 @@ function search() { x = document.getElementById("sch").value; // Do something with X. - console.log(x); + // Disable logging in search for the sake of old browsers. + // console.log(x); } function x(){ @@ -196,7 +198,7 @@ function loadTime(){ - $htmlcontent = "

" . htmlspecialchars($vt) . "




Likes: " . $likes . ", Dislikes: " . $dislikes . "
" . $likeBar . "
" + $htmlcontent = "

" . htmlspecialchars($vt) . "




Likes: " . $likes . ", Dislikes: " . $dislikes . "
" . $likeBar . "
" . $views . " views
-
Location: " . $loc . "
Description:
" . $vd; echo $htmlcontent;