From 0dfa8ca2b6b91e73a81be3b1189ced7eb2c3e8d9 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 16 Dec 2021 12:16:03 +1300 Subject: [PATCH] Add quality label on video page, move main element --- pug/video.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pug/video.pug b/pug/video.pug index b1fc394..6364601 100644 --- a/pug/video.pug +++ b/pug/video.pug @@ -20,11 +20,11 @@ block content script(type="module" src=getStaticURL("html", "/static/js/continuous.js")) noscript meta(http-equiv="refresh" content=`${video.lengthSeconds+5};url=/watch?v=${first.videoId}&continuous=1&session-watched=${sessionWatchedNext}`) - main.video-page(class={ + .video-page(class={ "video-page--recommended-below": settings.recommended_mode === 1, "video-page--recommended-hidden": settings.recommended_mode === 2 }) - .main-video-section + main.main-video-section .video-container - const format = formats[0] if format @@ -69,7 +69,7 @@ block content .button-container +subscribe_button(video.authorId, subscribed, `/watch?v=${video.videoId}`).border-look //- button.border-look#theatre Theatre - select(autocomplete="off").border-look#quality-select + select(aria-label="Quality" autocomplete="off").border-look#quality-select each f in formats option(value=f.itag)= f.cloudtube__label //-