mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
change browser object
This commit is contained in:
parent
27c3bdc042
commit
7b5f61d2d2
32 changed files with 106 additions and 106 deletions
4
dashboard-ui/cordova/registrationservices.js
vendored
4
dashboard-ui/cordova/registrationservices.js
vendored
|
@ -22,7 +22,7 @@
|
|||
|
||||
} : null;
|
||||
|
||||
var prefix = $.browser.android ? 'android' : 'ios';
|
||||
var prefix = browserInfo.android ? 'android' : 'ios';
|
||||
|
||||
IapManager.isUnlockedOverride(feature).then(function (isUnlocked) {
|
||||
|
||||
|
@ -430,7 +430,7 @@
|
|||
Events.on(IapManager, 'productupdated', onProductUpdated);
|
||||
}
|
||||
|
||||
if ($.browser.android) {
|
||||
if (browserInfo.android) {
|
||||
requirejs(['cordova/android/iap'], onIapManagerLoaded);
|
||||
} else {
|
||||
requirejs(['cordova/iap'], onIapManagerLoaded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue