misc
This commit is contained in:
parent
1795ef24bf
commit
5ed23a27b6
@ -42,7 +42,7 @@ export default class AppActiveSessionsTab extends SliderSuperTab {
|
|||||||
|
|
||||||
const midtitle = document.createElement('div');
|
const midtitle = document.createElement('div');
|
||||||
midtitle.classList.add('row-midtitle');
|
midtitle.classList.add('row-midtitle');
|
||||||
midtitle.innerHTML = [auth.device_model, auth.system_version].join(', ');
|
midtitle.innerHTML = [auth.device_model, auth.system_version || auth.platform].filter(Boolean).join(', ');
|
||||||
|
|
||||||
row.subtitle.parentElement.insertBefore(midtitle, row.subtitle);
|
row.subtitle.parentElement.insertBefore(midtitle, row.subtitle);
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ const App = {
|
|||||||
id: 1025907,
|
id: 1025907,
|
||||||
hash: '452b0359b988148995f22ff0f4229750',
|
hash: '452b0359b988148995f22ff0f4229750',
|
||||||
version: '0.5.6',
|
version: '0.5.6',
|
||||||
langPackVersion: '0.2.0',
|
langPackVersion: '0.2.1',
|
||||||
langPack: 'macos',
|
langPack: 'macos',
|
||||||
langPackCode: 'en',
|
langPackCode: 'en',
|
||||||
domains: [] as string[],
|
domains: [] as string[],
|
||||||
|
@ -69,7 +69,7 @@ async function requestCache(event: FetchEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onFetch = (event: FetchEvent): void => {
|
const onFetch = (event: FetchEvent): void => {
|
||||||
if(event.request.url.indexOf(location.origin + '/') === 0 && event.request.url.match(/\.(js|css|jpe?g|json|wasm|png|mp3|svg|tgs|ico|woff2?)$/)) {
|
if(event.request.url.indexOf(location.origin + '/') === 0 && event.request.url.match(/\.(js|css|jpe?g|json|wasm|png|mp3|svg|tgs|ico|woff2?|ttf|webmanifest?)(?:\?.*)?$/)) {
|
||||||
return event.respondWith(requestCache(event));
|
return event.respondWith(requestCache(event));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "#{$tgico-font-family}";
|
font-family: "#{$tgico-font-family}";
|
||||||
src:
|
src:
|
||||||
url('#{$tgico-font-path}/#{$tgico-font-family}_1.ttf?4vj0au') format('truetype'),
|
url('#{$tgico-font-path}/#{$tgico-font-family}.ttf?4vj0au') format('truetype'),
|
||||||
url('#{$tgico-font-path}/#{$tgico-font-family}_1.woff?4vj0au') format('woff'),
|
url('#{$tgico-font-path}/#{$tgico-font-family}.woff?4vj0au') format('woff'),
|
||||||
url('#{$tgico-font-path}/#{$tgico-font-family}_1.svg?4vj0au#tgico') format('svg');
|
url('#{$tgico-font-path}/#{$tgico-font-family}.svg?4vj0au#tgico') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: block;
|
||||||
|
Loading…
Reference in New Issue
Block a user