diff options
Diffstat (limited to 'theme')
-rw-r--r-- | theme/list_lib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js index a2a50f8f5..eb26b1eaa 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -167,7 +167,7 @@ function setNumberOfDives(e) function toggleExpantion(e, ul) { - if (e.toElement.localName === "a" ) { + if (e.target.localName === "a" ) { return; } if (!items[ul.id].expanded) { |