Ver Fonte

fix format

Leon Bubova há 3 anos atrás
pai
commit
782cd1eab1
1 ficheiros alterados com 1 adições e 2 exclusões
  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
     );