aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-23 22:29:11 -0500
committermat <github@matdoes.dev>2022-04-23 22:29:11 -0500
commitf76560e8e4fdc26197929ea650284ca0237afb17 (patch)
tree4e96f9c8a2aaebeba64ed9ff42feb994e17e8579 /src
parent68a6d7608d86c7ee2bbf42ea66f05d1ccf7efe1f (diff)
downloadskyblock-stats-f76560e8e4fdc26197929ea650284ca0237afb17.tar.gz
skyblock-stats-f76560e8e4fdc26197929ea650284ca0237afb17.tar.bz2
skyblock-stats-f76560e8e4fdc26197929ea650284ca0237afb17.zip
fix not replacing all spaces in wiki link
Diffstat (limited to 'src')
-rw-r--r--src/routes/items.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/items.svelte b/src/routes/items.svelte
index fbe5e0f..e0afecc 100644
--- a/src/routes/items.svelte
+++ b/src/routes/items.svelte
@@ -100,7 +100,7 @@
{#each filteredItemsSliced as item (item.id)}
<div class="item-container">
<span class="item-slot-container"><Item {item} pack={furfskyReborn} /></span>
- <a href="https://wiki.hypixel.net/{item.display.name.replace(/ /, '_')}"
+ <a href="https://wiki.hypixel.net/{item.display.name.replace(/ /g, '_')}"
><h3
class="item-name"
style={item.tier ? `color: ${colorCodes[TIER_COLORS[item.tier]]}` : undefined}