Skip to content

Node.js based forum software built for the modern web

fix: closes #11539

Barış Soner Uşaklıd0a15e9ec815
diff --git a/public/src/client/topic/diffs.js b/public/src/client/topic/diffs.js
index d635c4e0f6..22fca5868e 100644
--- a/public/src/client/topic/diffs.js
+++ b/public/src/client/topic/diffs.js
@@ -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;