Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
yumata committed Nov 14, 2023
1 parent d008620 commit abc2d17
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -26683,9 +26683,25 @@
function last$1() {
var active = Storage.get('activity', 'false');
var start_from = Storage.field("start_page");
var uri;

try {
uri = new URL(window.location);
} catch (e) {}

if (window.start_deep_link) {
push$1(window.start_deep_link);
} else if (uri && uri.searchParams.get('card')) {
push$1({
id: uri.searchParams.get('id'),
component: "full",
method: uri.searchParams.get('media') || 'movie',
source: uri.searchParams.get('source') || 'cub',
card: {
id: uri.searchParams.get('id'),
source: uri.searchParams.get('source') || 'cub'
}
});
} else if (active && start_from === "last") {
if (active.page) active.page = 1;
push$1(active);
Expand Down

0 comments on commit abc2d17

Please sign in to comment.