c
This commit is contained in:
parent
36be7e318f
commit
df1372eeb4
3380
searx/webapp.py
3380
searx/webapp.py
File diff suppressed because it is too large
Load Diff
@ -1492,7 +1492,7 @@ function modal_open(url, num)
|
||||
sentencesContent += sentences[i][1];
|
||||
}
|
||||
article = {'textContent':sentencesContent,'title':iframe.contentWindow.PDFViewerApplication._title}
|
||||
|
||||
resolve("success");
|
||||
|
||||
}).catch(function(error) {
|
||||
console.error(error); //处理错误情况
|
||||
@ -1503,8 +1503,9 @@ function modal_open(url, num)
|
||||
{
|
||||
modalele = eleparse(iframe.contentDocument);
|
||||
article = new Readability(iframe.contentDocument.cloneNode(true)).parse();
|
||||
}
|
||||
resolve("success");
|
||||
}
|
||||
|
||||
})
|
||||
}).then(
|
||||
() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user