Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nb557 committed Oct 27, 2024
1 parent 507d730 commit 2e328ee
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions online_mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -15674,17 +15674,15 @@
};

var vcdn_search = function vcdn_search(fallback) {
if (!fallback) {
fallback = function fallback() {
display([]);
};
}
var error = function error() {
if (fallback) fallback();else display([]);
};

vcdn_search_by_id(function (data) {
if (data && data.length) display(data);else vcdn_search_by_title(function (data) {
if (data && data.length) display(data);else fallback();
}, fallback);
}, fallback);
if (data && data.length) display(data);else error();
}, error);
}, error);
};

var kp_search_by_title = function kp_search_by_title(callback, error) {
Expand All @@ -15702,17 +15700,15 @@
};

var kp_search = function kp_search(fallback) {
if (!fallback) {
fallback = function fallback() {
display([]);
};
}
var error = function error() {
if (fallback) fallback();else display([]);
};

kp_search_by_id(function (data) {
if (data && data.length) display(data);else kp_search_by_title(function (data) {
if (data && data.length) display(data);else fallback();
}, fallback);
}, fallback);
if (data && data.length) display(data);else error();
}, error);
}, error);
};

var vcdn_search_imdb = function vcdn_search_imdb() {
Expand Down Expand Up @@ -16485,7 +16481,7 @@
};
}

var mod_version = '26.10.2024';
var mod_version = '27.10.2024';
console.log('App', 'start address:', window.location.href);
var isMSX = !!(window.TVXHost || window.TVXManager);
var isTizen = navigator.userAgent.toLowerCase().indexOf('tizen') !== -1;
Expand Down

0 comments on commit 2e328ee

Please sign in to comment.