Skip to content

Commit

Permalink
fix(firefox): hdsky页面渲染导致的没有搜索结果
Browse files Browse the repository at this point in the history
火狐页面下是还原到普通NP的下载按钮
  • Loading branch information
ted423 committed Sep 5, 2022
1 parent 9ee5214 commit adc07b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resource/schemas/NexusPHP/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,11 @@
switch (options.site.host) {
case 'hdsky.me': {
let url_another = row.find('form[action*="download.php"]:eq(0)')
if (url_another) {
if (url_another.length > 0) {
url = url_another.attr('action')
break;
}
break;

}

default: {
Expand Down

0 comments on commit adc07b4

Please sign in to comment.