Browse Source

[Web] Fix Rspamd plot, again - fixes #1467

André 7 years ago
parent
commit
e13c519ecb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/web/js/debug.js

+ 1 - 1
data/web/js/debug.js

@@ -544,7 +544,7 @@ jQuery(function($){
   $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
   $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
     var target = $(e.target).attr("href");
     var target = $(e.target).attr("href");
     if ((target == '#tab-rspamd-history')) {
     if ((target == '#tab-rspamd-history')) {
-      plot_rspamd();
+      rspamd_donut_plot.replot({});
     }
     }
   });
   });
 });
 });