fix: no : in class names
This commit is contained in:
@@ -29,8 +29,9 @@ export const useRouteQueryStackedNotes = () => {
|
||||
|
||||
if (isMobile.value) {
|
||||
if (noteId) {
|
||||
const cleanNoteId = noteId.replaceAll(":", "-")
|
||||
const element = document.querySelector(
|
||||
`.note-${noteId}`,
|
||||
`.note-${cleanNoteId}`,
|
||||
) as HTMLElement
|
||||
|
||||
const top = (index + 1) * (element?.clientHeight ?? height.value)
|
||||
|
||||
Reference in New Issue
Block a user