mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
36be7e318f
commit
df1372eeb4
2 changed files with 3383 additions and 2 deletions
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");
|
||||
}
|
||||
resolve("success");
|
||||
|
||||
})
|
||||
}).then(
|
||||
() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue