Skip to content

Commit f98ba31

Browse files
committed
Update DownloadAllContent.user.js
1 parent e87b209 commit f98ba31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DownloadAllContent/DownloadAllContent.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@
390390
for(i=0;i<childlist.length;i++){
391391
var child=childlist[i];
392392
if(getDepth(child)==getDepth(largestContent)){
393-
if((!largestContent.className && child.className) || (largestContent.className && !child.className))continue;
393+
if((!largestContent.className && child.className) || (largestContent.className && !child.className) || (largestContent.className && child.className && largestContent.className != child.className))continue;
394394
if((largestContent.className && largestContent.className==child.className)||largestContent.parentNode ==child.parentNode){
395395
getRightStr(child, true);
396396
}else {

0 commit comments

Comments
 (0)