Skip to content

Node.js based forum software built for the modern web

fix: #9166 missing relative path in topic thumbs modal and topic list

Julian Lamb9ba44edd7fa
diff --git a/install/package.json b/install/package.json
index ffade032c2..4f52dabb6b 100644
--- a/install/package.json
+++ b/install/package.json
@@ -101,7 +101,7 @@
"nodebb-plugin-spam-be-gone": "0.7.7",
"nodebb-rewards-essentials": "0.1.4",
"nodebb-theme-lavender": "5.0.17",
- "nodebb-theme-persona": "10.3.16",
+ "nodebb-theme-persona": "10.3.17",
"nodebb-theme-slick": "1.3.7",
"nodebb-theme-vanilla": "11.3.10",
"nodebb-widget-essentials": "5.0.2",
@@ -189,4 +189,4 @@
"url": "https://github.com/barisusakli"
}
]
-}
\ No newline at end of file
+}
diff --git a/src/views/modals/topic-thumbs.tpl b/src/views/modals/topic-thumbs.tpl
index 7ee9773836..814ea86718 100644
--- a/src/views/modals/topic-thumbs.tpl
+++ b/src/views/modals/topic-thumbs.tpl
@@ -5,7 +5,7 @@
{{{ each thumbs }}}
<div class="media" data-id="{./id}" data-path="{./url}">
<div class="media-left">
- <img class="media-object" src="{./url}" />
+ <img class="media-object" src="{config.relative_path}{./url}" />
</div>
<div class="media-body">
<p>