Fix code style in ipad.ts

This commit is contained in:
Adam Goldsmith 2023-11-03 14:43:29 -04:00
parent b3218d795f
commit d040edf6a0

View File

@ -40,7 +40,10 @@ function refresh() {
spinner.style.display = '';
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);
if (urlParams.has('tool')) {