Browse Source

show card

nieyuge 2 years ago
parent
commit
373235141a
1 changed files with 1 additions and 1 deletions
  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'
                 }
             }