Fix defineOgImageComponent, remove swipe actions in reader mode, change onClick to addEventListener
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user