mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
resolve safari load issues
This commit is contained in:
parent
c3fd6c022f
commit
d6865b769d
8 changed files with 54 additions and 15 deletions
|
@ -47,7 +47,13 @@ define(function () {
|
|||
link.setAttribute('rel', 'stylesheet');
|
||||
link.setAttribute('type', 'text/css');
|
||||
link.onload = load;
|
||||
link.setAttribute('href', url + "?" + config.urlArgs);
|
||||
|
||||
var linkUrl = url;
|
||||
|
||||
if (config.urlArgs) {
|
||||
linkUrl += config.urlArgs(cssId, url);
|
||||
}
|
||||
link.setAttribute('href', linkUrl);
|
||||
document.head.appendChild(link);
|
||||
} else {
|
||||
load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue