diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-09-15 19:32:20 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-09-15 19:32:20 +0300 |
commit | dff3186aa7c0020d0fb3fad7950dbcf4bee6a36f (patch) | |
tree | 839a1ea428958df66816af9fb8e4ccdf81e2da50 /interface | |
parent | c73e007d787c4df0499cee55b0c03ccd39edc410 (diff) | |
download | rspamd-dff3186aa7c0020d0fb3fad7950dbcf4bee6a36f.tar.gz rspamd-dff3186aa7c0020d0fb3fad7950dbcf4bee6a36f.zip |
[Minor] Enforce return after callback
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/history.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js index fa80a10cd..990f60a09 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -608,7 +608,7 @@ define(["jquery", "footable", "humanize"], var i = (typeof iteration === "undefined") ? 10 : iteration; var num_rows = $("#historyTable > tbody > tr").length; if (num_rows === rows_per_page) { - callback(); + return callback(); } else if (--i) { setTimeout(function () { waitForRowsDisplayed(callback, i); |