mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dlna profiles
This commit is contained in:
parent
66a896e13d
commit
232f5dba67
8 changed files with 28 additions and 75 deletions
5
dashboard-ui/thirdparty/browser.js
vendored
5
dashboard-ui/thirdparty/browser.js
vendored
|
@ -909,6 +909,7 @@
|
|||
var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
|
||||
/(safari)[ \/]([\w.]+)/.exec(ua) ||
|
||||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
|
||||
/(webkit)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
|
||||
/(msie) ([\w.]+)/.exec(ua) ||
|
||||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
|
||||
[];
|
||||
|
@ -944,6 +945,10 @@
|
|||
browser[matched.platform] = true;
|
||||
}
|
||||
|
||||
if (browser.webkit && !browser.chrome) {
|
||||
browser.safari = true;
|
||||
}
|
||||
|
||||
// Chrome is Webkit, but Webkit is also Safari.
|
||||
if (browser.chrome || browser.safari) {
|
||||
browser.webkit = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue