瀏覽代碼

show card

nieyuge 2 年之前
父節點
當前提交
373235141a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/logic/content/ParseCard.js

+ 1 - 1
src/logic/content/ParseCard.js

@@ -316,7 +316,7 @@ class ParseCard {
             dom.style = 'min-height:500px'
         if (dom) {
             for (let i = 0; i < dom.childNodes.length; i++) {
-                if (dom.children[i].tagName.toLowerCase() != 'iframe') {
+                if (dom.children[i].tagName.toLowerCase() != 'iframe' && (i !== 0)) {
                     dom.children[i].style.display = 'none'
                 }
             }