Skip to content

NOW MANAGED ON CODEBERG

Fixes issue wth the dropdown list upon double clicking.

Abijeet90883bb22b0a
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;