From b21374e520656c6a44cc2e1f084ab16182ae9af7 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 3 Nov 2015 18:10:26 +1030 Subject: [PATCH] Fix incorrect post permalinks --- extensions/embed/js/forum/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/embed/js/forum/src/main.js b/extensions/embed/js/forum/src/main.js index 53d1d7948..b317b34a3 100644 --- a/extensions/embed/js/forum/src/main.js +++ b/extensions/embed/js/forum/src/main.js @@ -32,7 +32,7 @@ app.initializers.replace('boot', () => { // Trim the /embed prefix off of post permalinks override(PostMeta.prototype, 'getPermalink', (original, post) => { - return original(post).replace('/embed', ''); + return original(post).replace('/embed', '/d'); }); app.pane = new Pane(document.getElementById('app'));