mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix safari load issues
This commit is contained in:
parent
948aebfb44
commit
f4f15d265c
11 changed files with 98 additions and 358 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