Fix eslint error and update svelte related stuff
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
|
||||
// Close viewer and go to previous page
|
||||
const closeViewer = () => {
|
||||
goto(previousUrl, { replaceState: false, noscroll: true, keepfocus: true })
|
||||
goto(previousUrl, { replaceState: false, noScroll: true, keepFocus: true })
|
||||
}
|
||||
|
||||
// Enable navigation with keyboard
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
let scrollY: number, innerWidth: number, innerHeight: number
|
||||
let photosGridEl: HTMLElement
|
||||
let photosGridOffset: number = photosGridEl && photosGridEl.offsetTop
|
||||
let currentStep: number = 0
|
||||
let currentStep = 0
|
||||
let emailCopied: string = null
|
||||
let emailCopiedTimeout: ReturnType<typeof setTimeout> | number
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
urlFiltersParams.set('sort', filterSort)
|
||||
|
||||
let path = `${$page.url.pathname}?${urlFiltersParams.toString()}`
|
||||
goto(path, { replaceState: true, keepfocus: true, noscroll: true })
|
||||
goto(path, { replaceState: true, keepFocus: true, noScroll: true })
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user