diff --git a/public/src/client/topic/diffs.js b/public/src/client/topic/diffs.js index 073caa2e3c..3d57131624 100644 --- a/public/src/client/topic/diffs.js +++ b/public/src/client/topic/diffs.js @@ -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(); }); }); };