client: fix lint "quotes"
This commit is contained in:
parent
e7d942554a
commit
db6907a6fa
|
@ -6,7 +6,7 @@ import { lang } from '@/config';
|
||||||
export async function initializeSw() {
|
export async function initializeSw() {
|
||||||
if (!('serviceWorker' in navigator)) return;
|
if (!('serviceWorker' in navigator)) return;
|
||||||
|
|
||||||
navigator.serviceWorker.register(`/sw.js`, { scope: '/', type: 'classic' });
|
navigator.serviceWorker.register('/sw.js', { scope: '/', type: 'classic' });
|
||||||
navigator.serviceWorker.ready.then(registration => {
|
navigator.serviceWorker.ready.then(registration => {
|
||||||
registration.active?.postMessage({
|
registration.active?.postMessage({
|
||||||
msg: 'initialize',
|
msg: 'initialize',
|
||||||
|
|
|
@ -109,7 +109,7 @@ export function physics(container: HTMLElement) {
|
||||||
render.mouse = mouse;
|
render.mouse = mouse;
|
||||||
|
|
||||||
for (const objEl of objEls) {
|
for (const objEl of objEls) {
|
||||||
objEl.style.position = `absolute`;
|
objEl.style.position = 'absolute';
|
||||||
objEl.style.top = 0;
|
objEl.style.top = 0;
|
||||||
objEl.style.left = 0;
|
objEl.style.left = 0;
|
||||||
objEl.style.margin = 0;
|
objEl.style.margin = 0;
|
||||||
|
|
Loading…
Reference in New Issue