1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Force the use of single quotes

This commit is contained in:
MrTimscampi 2020-05-04 12:44:12 +02:00
parent 8b6dc05d64
commit 9e3ca706c4
217 changed files with 8541 additions and 8540 deletions

View file

@ -24,25 +24,25 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
function getThemes() {
return [{
name: "Apple TV",
id: "appletv"
name: 'Apple TV',
id: 'appletv'
}, {
name: "Blue Radiance",
id: "blueradiance"
name: 'Blue Radiance',
id: 'blueradiance'
}, {
name: "Dark",
id: "dark",
name: 'Dark',
id: 'dark',
isDefault: true,
isDefaultServerDashboard: true
}, {
name: "Light",
id: "light"
name: 'Light',
id: 'light'
}, {
name: "Purple Haze",
id: "purplehaze"
name: 'Purple Haze',
id: 'purplehaze'
}, {
name: "Windows Media Center",
id: "wmc"
name: 'Windows Media Center',
id: 'wmc'
}];
}
@ -91,7 +91,7 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
function onThemeLoaded() {
document.documentElement.classList.remove('preload');
try {
var color = getComputedStyle(document.querySelector('.skinHeader')).getPropertyValue("background-color");
var color = getComputedStyle(document.querySelector('.skinHeader')).getPropertyValue('background-color');
if (color) {
appHost.setThemeColor(color);
}