fix format

This commit is contained in:
Leon Bubova committed 2021-12-17 23:42:06 +01:00
1 parent b599f889cd
commit 782cd1eab1
1 file changed
+1 -2
+1 -2
View File
@@ -224,8 +224,7 @@ function sendVote(vote) {
function isVideoLoaded() { function isVideoLoaded() {
const videoId = getVideoId(window.location.href); const videoId = getVideoId(window.location.href);
return ( return (
document.querySelector(`ytd-watch-flexy[video-id='${videoId}']`) !== document.querySelector(`ytd-watch-flexy[video-id='${videoId}']`) !== null ||
null ||
// mobile: no video-id attribute // mobile: no video-id attribute
document.querySelector('#player[loading="false"]:not([hidden])') !== null document.querySelector('#player[loading="false"]:not([hidden])') !== null
); );