Leon Bubova hace 3 años
padre
commit
782cd1eab1
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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
     );