refactor: removed 3 lines

v1.18.x
gasoved 4 years ago committed by Julian Lam
parent 72b050b4a8
commit 4447a64eaa

@ -67,11 +67,7 @@ define('forum/topic/diffs', ['api', 'bootbox', 'forum/topic/images'], function (
if (modalExists) { if (modalExists) {
modal.find('.modal-body').html(html); modal.find('.modal-body').html(html);
} else { } else {
modal = bootbox.dialog({ modal = bootbox.dialog({ title: '[[topic:diffs.title]]', message: html, size: 'large' });
title: '[[topic:diffs.title]]',
message: html,
size: 'large',
});
} }
if (!data.timestamps.length) { if (!data.timestamps.length) {

Loading…
Cancel
Save