Fix defineOgImageComponent, remove swipe actions in reader mode, change onClick to addEventListener

This commit is contained in:
2024-06-19 01:19:57 +03:00
parent 4543680a92
commit 05db0b693e
5 changed files with 45 additions and 46 deletions
+1 -1
View File
@@ -643,7 +643,7 @@ onMounted(() => {
}
for (const event of ['dblclick', 'touchstart'])
layout!.addEventListener(event, click)
layout?.addEventListener(event, click)
// Save the new value to local storage.
watch(animated, (newAnimate) => {