소스 검색

fix format

Leon Bubova 3 년 전
부모
커밋
782cd1eab1
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      Extensions/combined/ryd.content-script.js

+ 1 - 2
Extensions/combined/ryd.content-script.js

@@ -224,8 +224,7 @@ function sendVote(vote) {
   function isVideoLoaded() {
     const videoId = getVideoId(window.location.href);
     return (
-      document.querySelector(`ytd-watch-flexy[video-id='${videoId}']`) !==
-        null ||
+    document.querySelector(`ytd-watch-flexy[video-id='${videoId}']`) !== null ||
       // mobile: no video-id attribute
       document.querySelector('#player[loading="false"]:not([hidden])') !== null
     );