fix this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/6223052#context
parent
0ef8f9355f
commit
257a2510ec
|
@ -23,7 +23,8 @@ if (post_permalinks) {
|
||||||
if (
|
if (
|
||||||
["d", "ArrowRight"].includes(e.key) &&
|
["d", "ArrowRight"].includes(e.key) &&
|
||||||
!["TEXTAREA", "INPUT"].includes(document.activeElement.tagName) &&
|
!["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)
|
location.href = permalink_after.slice(1, -1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue