diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-31 14:21:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 14:21:50 -0500 |
commit | 889240311b4072021f3742345bc87118c5b3a3e1 (patch) | |
tree | 1fdf2b476092569549e2dbd0c88c5b45aea13a70 /ext/mixed/display-templates.html | |
parent | 1b4ba1fb006a6e6dda7f19c797b204c43900df4a (diff) |
Improve tag scanning behaviour (#1189)
* Update include/exclude selectors for Display._definitionTextScanner
* Fix missing condition
Diffstat (limited to 'ext/mixed/display-templates.html')
-rw-r--r-- | ext/mixed/display-templates.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html index 4c202448..95432ad2 100644 --- a/ext/mixed/display-templates.html +++ b/ext/mixed/display-templates.html @@ -39,8 +39,8 @@ </div></template> <template id="term-definition-item-template"><li class="term-definition-item"><div class="term-definition-tag-list tag-list"></div><div class="term-definition-disambiguation-list"></div><ul class="term-glossary-list"></ul></li></template> <template id="term-definition-disambiguation-template"><span class="term-definition-disambiguation"></span></template> -<template id="term-glossary-item-template"><li class="term-glossary-item"><span class="term-glossary-separator"> </span><span class="term-glossary"></span></li></template> -<template id="term-glossary-item-image-template"><li class="term-glossary-item" data-has-image="true"><span class="term-glossary-separator"> </span><span class="term-glossary"><a class="term-glossary-image-link" target="_blank" rel="noreferrer noopener"><span class="term-glossary-image-container"><span class="term-glossary-image-aspect-ratio-sizer"></span><img class="term-glossary-image" alt="" /><span class="term-glossary-image-container-overlay"></span></span><span class="term-glossary-image-link-text">Image</span></a> <span class="term-glossary-image-description"></span></span></li></template> +<template id="term-glossary-item-template"><li class="term-glossary-item click-scannable"><span class="term-glossary-separator"> </span><span class="term-glossary"></span></li></template> +<template id="term-glossary-item-image-template"><li class="term-glossary-item click-scannable" data-has-image="true"><span class="term-glossary-separator"> </span><span class="term-glossary"><a class="term-glossary-image-link" target="_blank" rel="noreferrer noopener"><span class="term-glossary-image-container"><span class="term-glossary-image-aspect-ratio-sizer"></span><img class="term-glossary-image" alt="" /><span class="term-glossary-image-container-overlay"></span></span><span class="term-glossary-image-link-text">Image</span></a> <span class="term-glossary-image-description"></span></span></li></template> <template id="term-reason-template"><span class="term-reason"></span><span class="term-reason-separator"> </span></template> <!-- Pitch accent templates --> |