From 4447a64eaac32ff9814a0b7f5c84efe11ec3a162 Mon Sep 17 00:00:00 2001 From: gasoved Date: Fri, 29 Jan 2021 08:58:15 +0300 Subject: [PATCH] refactor: removed 3 lines --- public/src/client/topic/diffs.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/public/src/client/topic/diffs.js b/public/src/client/topic/diffs.js index 801b818dd7..d014e63441 100644 --- a/public/src/client/topic/diffs.js +++ b/public/src/client/topic/diffs.js @@ -67,11 +67,7 @@ define('forum/topic/diffs', ['api', 'bootbox', 'forum/topic/images'], function ( if (modalExists) { modal.find('.modal-body').html(html); } else { - modal = bootbox.dialog({ - title: '[[topic:diffs.title]]', - message: html, - size: 'large', - }); + modal = bootbox.dialog({ title: '[[topic:diffs.title]]', message: html, size: 'large' }); } if (!data.timestamps.length) {