mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: closes #11539
This commit is contained in:
@@ -11,7 +11,13 @@ define('forum/topic/diffs', ['api', 'bootbox', 'alerts', 'forum/topic/images'],
|
||||
|
||||
api.get(`/posts/${pid}/diffs`, {}).then((data) => {
|
||||
parsePostHistory(data).then(($html) => {
|
||||
const $modal = bootbox.dialog({ title: '[[topic:diffs.title]]', message: $html, size: 'large' });
|
||||
const $modal = bootbox.dialog({
|
||||
title: '[[topic:diffs.title]]',
|
||||
message: $html,
|
||||
size: 'large',
|
||||
onEscape: true,
|
||||
backdrop: true,
|
||||
});
|
||||
|
||||
if (!data.timestamps.length) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user