fix: lint

This commit is contained in:
Barış Soner Uşaklı
2021-08-10 21:19:01 -04:00
parent 358ad74054
commit 8bf2896d6c

View File

@@ -378,7 +378,9 @@ define('forum/topic/posts', [
}
});
})).then(function () {
callback && callback();
if (typeof callback === 'function') {
callback();
}
});
}