소스 검색

fix error

MarkusRost 3 년 전
부모
커밋
efd045a613
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/parse_page.js

+ 1 - 1
functions/parse_page.js

@@ -345,7 +345,7 @@ function parse_page(lang, msg, content, embed, wiki, reaction, {title, contentmo
 						section.nextUntil(['h1','h2','h3','h4','h5','h6'].slice(0, sectionLevel).join(', '))
 					);
 					section.find('div, ' + removeClasses.join(', ')).remove();
-					extraImages.push(...new Set(...[
+					extraImages.push(...new Set([
 						...sectionContent.find(infoboxList.join(', ')).find([
 							'tr:eq(1) img',
 							'div.images img',