chore(docs): check if breakpoint matches

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-05-09 10:24:49 +02:00
parent 60327ee6a1
commit dff1d72788
+1 -1
View File
@@ -145,7 +145,7 @@ function setElements() {
},
]
})
} else if (currentBreakpoint.value !== 'md') {
} else if (!breakpoints.isSmaller('md') && currentBreakpoint.value !== 'md') {
currentBreakpoint.value = 'md'
getNodes.value.forEach((node) => {