mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
ESlint no-plusplus
and no-empty, space-unary-ops
This commit is contained in:
@@ -196,7 +196,8 @@ $(document).ready(function () {
|
||||
|
||||
ajaxify.end = function (url, tpl_url) {
|
||||
function done() {
|
||||
if (--count === 0) {
|
||||
count -= 1;
|
||||
if (count === 0) {
|
||||
$(window).trigger('action:ajaxify.end', {url: url, tpl_url: tpl_url, title: ajaxify.data.title});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user