mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Avoid using CSS variables for background images because they aren't fetched through the service worker in Safari (#149259)
* Fixes #149256: Avoid using CSS variables for background images because they aren't fetched through the service worker in Safari * Fix compilation errors
This commit is contained in:
@@ -1289,7 +1289,7 @@ RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href) ? '
|
||||
/**
|
||||
* returns url('...')
|
||||
*/
|
||||
export function asCSSUrl(uri: URI): string {
|
||||
export function asCSSUrl(uri: URI | null | undefined): string {
|
||||
if (!uri) {
|
||||
return `url('')`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user