mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-25 00:00:00 +08:00
Fixes issue wth the dropdown list upon double clicking.
Closes #960 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
@ -23,6 +23,7 @@ class ChapterToggle {
|
|||||||
list.style.overflow = '';
|
list.style.overflow = '';
|
||||||
list.style.height = '';
|
list.style.height = '';
|
||||||
list.style.transition = '';
|
list.style.transition = '';
|
||||||
|
list.style.display = `block`;
|
||||||
list.removeEventListener('transitionend', transitionEndBound);
|
list.removeEventListener('transitionend', transitionEndBound);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,4 +65,4 @@ class ChapterToggle {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = ChapterToggle;
|
module.exports = ChapterToggle;
|
||||||
|
Reference in New Issue
Block a user