Skip to content

Commit

Permalink
[Anime365] fix ui not loading from search
Browse files Browse the repository at this point in the history
  • Loading branch information
NoPlagiarism committed Apr 22, 2024
1 parent 1284468 commit b888610
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pages/Anime365/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { urlPart } from '../../utils/general';
import { pageInterface } from '../pageInterface';

// const logger = con.m('Anime365', '#1b5e20');

function isNumeric(str: string) {
return !Number.isNaN(parseInt(str));
}
Expand Down Expand Up @@ -94,8 +96,12 @@ export const Anime365: pageInterface = {
require('!to-string-loader!css-loader!less-loader!./style.less').toString(),
);
utils.urlChangeDetect(() => {
page.reset();
page.handlePage();
setTimeout(() => {
j.$(() => {
page.reset();
page.handlePage();
});
}, 500);
});
j.$(() => {
page.handlePage();
Expand Down

0 comments on commit b888610

Please sign in to comment.