Browse Source

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

André 7 năm trước cách đây
mục cha
commit
e13c519ecb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {
     var target = $(e.target).attr("href");
     if ((target == '#tab-rspamd-history')) {
-      plot_rspamd();
+      rspamd_donut_plot.replot({});
     }
   });
 });