This commit is contained in:
Julian Lam
2018-03-15 15:53:52 -04:00
parent 693c7a3b85
commit 9197879291

View File

@@ -1,6 +1,6 @@
'use strict';
define('forum/topic/diffs', ['benchpress', 'translator'], function (Benchpress, translator) {
define('forum/topic/diffs', ['forum/topic/images', 'benchpress', 'translator'], function (Images, Benchpress, translator) {
var Diffs = {};
Diffs.open = function (pid) {
@@ -60,6 +60,8 @@ define('forum/topic/diffs', ['benchpress', 'translator'], function (Benchpress,
posts: [data],
}, function (html) {
postContainer.empty().append(html);
Images.unloadImages(html);
Images.loadImages();
});
});
};