Aevann 2024-04-07 06:06:16 +02:00
parent 0ef8f9355f
commit 257a2510ec
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ if (post_permalinks) {
if (
["d", "ArrowRight"].includes(e.key) &&
!["TEXTAREA", "INPUT"].includes(document.activeElement.tagName) &&
!(e.ctrlKey || e.metaKey || e.shiftKey || e.altKey)
!(e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) &&
!expandImageModal.classList.contains('show')
) {
location.href = permalink_after.slice(1, -1)
}