浏览代码

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
     );