diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-11-15 18:38:13 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-15 18:46:58 -0400 |
commit | bbfe965da8d1d5a416c92c19f30cfd90194c5c1a (patch) | |
tree | 97305142fdd4569795a510900f55228c5f2a2527 /src/content/dependencies | |
parent | dda59b812f86bd2e92ad8c471300e055b38db166 (diff) |
content: generateDotSwitcherTemplate: blank if no options
Options were already [html.onlyIfContent], so this seems like a bit of an oversight (it's possible for *none* of the options to have content).
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateDotSwitcherTemplate.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content/dependencies/generateDotSwitcherTemplate.js b/src/content/dependencies/generateDotSwitcherTemplate.js index 745a1471..253c231f 100644 --- a/src/content/dependencies/generateDotSwitcherTemplate.js +++ b/src/content/dependencies/generateDotSwitcherTemplate.js @@ -16,6 +16,7 @@ export default { generate: (slots, {html}) => html.tag('span', {class: 'dot-switcher'}, + {[html.onlyIfContent]: true}, {[html.noEdgeWhitespace]: true}, {[html.joinChildren]: ''}, |