From: Abijeet Date: Sun, 16 Sep 2018 07:39:21 +0000 (+0530) Subject: Fixes issue wth the dropdown list upon double clicking. X-Git-Tag: v0.24.0~1^2~17 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/90883bb22b0a868f7dd972c873c79706fed1bc1e Fixes issue wth the dropdown list upon double clicking. Closes #960 Signed-off-by: Abijeet --- diff --git a/resources/assets/js/components/chapter-toggle.js b/resources/assets/js/components/chapter-toggle.js index ad373a668..e3a542ea4 100644 --- a/resources/assets/js/components/chapter-toggle.js +++ b/resources/assets/js/components/chapter-toggle.js @@ -23,6 +23,7 @@ class ChapterToggle { list.style.overflow = ''; list.style.height = ''; list.style.transition = ''; + list.style.display = `block`; list.removeEventListener('transitionend', transitionEndBound); } @@ -64,4 +65,4 @@ class ChapterToggle { } -module.exports = ChapterToggle; \ No newline at end of file +module.exports = ChapterToggle;