Fix code style in ipad.ts
This commit is contained in:
parent
b3218d795f
commit
d040edf6a0
@ -40,7 +40,10 @@ function refresh() {
|
|||||||
spinner.style.display = '';
|
spinner.style.display = '';
|
||||||
|
|
||||||
const url = new URL('/ipad.png', window.location.href);
|
const url = new URL('/ipad.png', window.location.href);
|
||||||
url.searchParams.set('viewport', `${window.innerWidth}x${window.innerHeight}x${window.devicePixelRatio}`);
|
url.searchParams.set(
|
||||||
|
'viewport',
|
||||||
|
`${window.innerWidth}x${window.innerHeight}x${window.devicePixelRatio}`
|
||||||
|
);
|
||||||
|
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
if (urlParams.has('tool')) {
|
if (urlParams.has('tool')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user