Fixes issue wth the dropdown list upon double clicking.

Closes #960

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
Abijeet 2018-09-16 13:09:21 +05:30
parent d2a9b312e9
commit 90883bb22b

View File

@ -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;
module.exports = ChapterToggle;