« get me outta code hell

We're Still Good(R) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-08 21:24:55 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-08 21:24:55 -0300
commitf484c6e9ea62baad8818864e715f8a435fddc241 (patch)
tree30fee51621bbf5808d964f86af81d1e713b8f650
parent2a6c0f4053d3bf1b774b34e55a1e3de487a1204c (diff)
We're Still Good(R)
-rw-r--r--src/content/dependencies/transformContent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index a194e268..8494738c 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -385,7 +385,7 @@ export default {
             if (label) link.setSlot('content', label);
             if (hash) link.setSlot('hash', hash);
 
-            if (toIndex) {
+            if (!toIndex) {
               link.setSlot('preferShortName', slots.preferShortLinkNames);
             }