fix(zimuxia-portfollo): $.reverse is removed (#8047)
This commit is contained in:
@@ -17,8 +17,9 @@ module.exports = async (ctx) => {
|
||||
.filter(function () {
|
||||
return $(this).attr('href').substr(0, 7) === 'magnet:';
|
||||
})
|
||||
.toArray()
|
||||
.reverse()
|
||||
.map((_, item) => {
|
||||
.map((item) => {
|
||||
item = $(item);
|
||||
|
||||
return {
|
||||
@@ -28,8 +29,7 @@ module.exports = async (ctx) => {
|
||||
enclosure_url: item.attr('href'),
|
||||
enclosure_type: 'application/x-bittorrent',
|
||||
};
|
||||
})
|
||||
.get();
|
||||
});
|
||||
|
||||
ctx.state.data = {
|
||||
title: `${$('.content-page-title').text()} - FIX字幕侠`,
|
||||
|
||||
Reference in New Issue
Block a user