diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-02-18 13:47:22 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-02-18 13:47:22 +0300 |
commit | eaf1a977282a8bbb8b26a042e0e43ff864ff1feb (patch) | |
tree | 92d17ce0c4ab955625ec152d80f01bd5bef20ab6 /interface/js | |
parent | 16038903c3a2f712ecbcbba92a4f130fbd115c28 (diff) | |
download | rspamd-eaf1a977282a8bbb8b26a042e0e43ff864ff1feb.tar.gz rspamd-eaf1a977282a8bbb8b26a042e0e43ff864ff1feb.zip |
[WebUI] Fix mouse events on throughput summary table area
Diffstat (limited to 'interface/js')
-rw-r--r-- | interface/js/app/graph.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js index 62452d367..86f7ca352 100644 --- a/interface/js/app/graph.js +++ b/interface/js/app/graph.js @@ -148,6 +148,16 @@ function($, D3Evolution, unused) { }); } + // Handling mouse events on overlapping elements + $("#rrd-pie").mouseover(function () { + $("#rrd-pie").css("z-index", "200"); + $("#rrd-table_toggle").css("z-index", "300"); + }); + $("#rrd-table_toggle").mouseover(function () { + $("#rrd-pie").css("z-index", "0"); + $("#rrd-table_toggle").css("z-index", "0"); + }); + var interface = {}; interface.draw = function(rspamd, graphs, neighbours, checked_server, type) { |