mirror of
https://github.com/netbirdio/docs.git
synced 2026-09-09 00:21:26 +02:00
General Docs Improvements (#542)
This commit is contained in:
@@ -20,8 +20,10 @@ export function ImageZoom() {
|
||||
target.tagName === 'IMG' &&
|
||||
(target.classList.contains('imagewrapper') ||
|
||||
target.classList.contains('imagewrapper-big') ||
|
||||
target.classList.contains('imagewrapper-medium') ||
|
||||
target.closest('.imagewrapper') ||
|
||||
target.closest('.imagewrapper-big'))
|
||||
target.closest('.imagewrapper-big') ||
|
||||
target.closest('.imagewrapper-medium'))
|
||||
) {
|
||||
e.preventDefault()
|
||||
setZoomedImage(target.src)
|
||||
|
||||
Reference in New Issue
Block a user