mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-04 03:41:21 +01:00
fix format
This commit is contained in:
1 parent
b599f889cd
commit
782cd1eab1
1 file changed
+1
-2
@@ -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
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user