diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-12-23 13:01:17 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-12-23 13:01:17 +0300 |
commit | 1b4ebd17edea6d8d84ca9e1cbc3b98c9068fef58 (patch) | |
tree | 8edb69549b43de94ed31c40bfba90f3d69a2b0df /interface | |
parent | c10a012a44a1c40df0e90511f745af0b7377a665 (diff) | |
download | rspamd-1b4ebd17edea6d8d84ca9e1cbc3b98c9068fef58.tar.gz rspamd-1b4ebd17edea6d8d84ca9e1cbc3b98c9068fef58.zip |
[WebUI] Fix stat widgets timers multiplication on `Refresh` click
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/rspamd.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index fcc63f809..38cb0ed13 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -76,9 +76,10 @@ return false; }); $('#refresh').on('click', function (event) { - statWidgets(); + clearTimeout(stat_timeout); getChart(); getGraphData(selected.selData); + statWidgets(); }); // @supports session storage function supportsSessionStorage() { |