Commit 0c8837f7 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

removing dead code

parent a903b091
......@@ -141,23 +141,7 @@ th.hover {
}
.grid_host thead th:last-child:first-child.splitter{
display:none;
}/*
#grid_host_clone tbody td,
#grid_host_clone thead th[data-col] {
visibility: hidden;
}
#grid_container.freeze-row-header-v2{
overflow-x:scroll;
}
#grid_host_clone{
display:none;
}
.freeze-row-header-v2 #grid_host_clone{
display:initial;
position: absolute;
top: 0;
pointer-events: none;
}*/
/*https://codepen.io/paulobrien/pen/gWoVzN*/
#grid_container.freeze-row-header-v3{
position: relative;
......
$(document).ready(function(){
//let grid_host=jQuery("#grid_host");
//grid_host.clone(true).attr("id","grid_host_clone").appendTo(grid_host.parent());
var parts = location.search.substring(1).split('&');
mem['virus']=[];
mem['host']=[];
......@@ -81,8 +78,6 @@ function host_changed(pk, checked, do_load_data){
'<a target="_blank" href="'+get_host_url.replace("000000",pk)+'">_</a>'+
'<span class="ratio"></span>'+
'</th>';
let cell_th_clone=$(cell_th_str);
cell_th_clone.appendTo($("#grid_host_clone").find("thead>tr"));
let cell_th=$(cell_th_str);
hover_behavior(cell_th);
cell_th.appendTo($("#grid_host").find("thead>tr"));
......@@ -145,8 +140,6 @@ function virus_changed(pk, checked, do_load_data){
'<span class="ratio"></span>'+
'</th>'+
'</tr>';
let row_clone=$(row_str);
row_clone.appendTo($("#grid_host_clone").find("tbody"));
let row=$(row_str);
row.appendTo($("#grid_host").find("tbody"));
let hosts = $('#grid_host thead>tr>th[data-col]').map(function(i,o){
......
$(document).ready(function(){
//let grid_host=jQuery("#grid_host");
//grid_host.clone(true).attr("id","grid_host_clone").appendTo(grid_host.parent());
load_data_vh().then(refresh_all_infection_ratio);
$("[data-toggle-css-class]").change(function(e){
$(e.target).attr("data-toggle-css-class").split(" ").map(function(c){
......@@ -68,8 +66,6 @@ function load_data_vh(){
'<span class="ratio"></span>'+
'</th>'+
'</tr>';
let tr_row_clone = $(tr_row_str);
tr_row_clone.appendTo($("#grid_host_clone").find("tbody"));
let tr_row = $(tr_row_str);
tr_row.appendTo($("#grid_host").find("tbody"));
let hosts = $('#grid_host thead>tr>th[data-col]').map(function(i,o){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment