summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css6
-rw-r--r--assets/js/watch.js2
-rw-r--r--assets/robots.txt4
3 files changed, 9 insertions, 3 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index ce6c30c9..95c1f55c 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -19,6 +19,7 @@ body {
font-size: 1.17em;
font-weight: bold;
vertical-align: middle;
+ border-radius: 50%;
}
.channel-profile > img {
@@ -314,6 +315,11 @@ footer a {
text-decoration: underline;
}
+footer span {
+ margin: 4px 0;
+ display: block;
+}
+
/* keyframes */
@keyframes spin {
diff --git a/assets/js/watch.js b/assets/js/watch.js
index 3909edd4..1579abf4 100644
--- a/assets/js/watch.js
+++ b/assets/js/watch.js
@@ -149,6 +149,8 @@ function get_playlist(plid, retries) {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
playlist.innerHTML = xhr.response.playlistHtml;
+ var nextVideo = document.getElementById(xhr.response.nextVideo);
+ nextVideo.parentNode.parentNode.scrollTop = nextVideo.offsetTop;
if (xhr.response.nextVideo) {
player.on('ended', function () {
diff --git a/assets/robots.txt b/assets/robots.txt
index b7e8f5a9..1f53798b 100644
--- a/assets/robots.txt
+++ b/assets/robots.txt
@@ -1,4 +1,2 @@
User-agent: *
-Disallow: /search
-Disallow: /login
-Disallow: /watch \ No newline at end of file
+Disallow: /