refactor: removed 3 lines

This commit is contained in:
gasoved
2021-01-29 08:58:15 +03:00
committed by Julian Lam
parent 72b050b4a8
commit 4447a64eaa

View File

@@ -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) {