Skip to content

Commit

Permalink
Update copymanga_open.js
Browse files Browse the repository at this point in the history
  • Loading branch information
catvod authored Jan 23, 2024
1 parent 3b8b157 commit 85d6241
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions open/copymanga_open.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,12 @@ async function home(filter) {
v: a.attribs.href.match(/.*?theme=(.*)&/)[1],
});
}

_.each(_.chunk(themeValues, 11), (vals) => {
let theme = {
key: 'theme',
name: '',
init: '',
value: vals,
};
filterObj['c1'].push(theme);
filterObj['c1'].push({
key: 'theme',
name: '',
init: '',
wrap: 1,
value: themeValues,
});

filterObj['c1'].push(region);
Expand Down

0 comments on commit 85d6241

Please sign in to comment.