upping minver for mentions plugin, fixing bad url in admin/topics

v1.18.x
Julian Lam 11 years ago
parent e41ca491ff
commit 85fa68bd92

@ -41,7 +41,7 @@
"prompt": "~0.2.11",
"uglify-js": "~2.4.0",
"validator": "~1.5.1",
"nodebb-plugin-mentions": "~0.1.13",
"nodebb-plugin-mentions": "~0.1.14",
"nodebb-plugin-markdown": "~0.1.7",
"nodebb-theme-vanilla": "designcreateplay/nodebb-theme-vanilla",
"nodebb-theme-cerulean": "0.0.4",

@ -55,10 +55,13 @@ define(function() {
topics = JSON.parse(topics);
if (topics.length > 0) {
var html = templates.prepare(templates['admin/topics'].blocks['topics']).parse({
topics: topics
}),
topics: topics
}),
topicsListEl = document.querySelector('.topics');
// Fix relative paths
html = html.replace(/\{relative_path\}/g, RELATIVE_PATH);
topicsListEl.innerHTML += html;
Topics.resolveButtonStates();

Loading…
Cancel
Save