From 12f56b64ec7a1ccee5b842035e0acc22afecf7b2 Mon Sep 17 00:00:00 2001 From: James Date: Sun, 29 Mar 2020 10:14:47 +0100 Subject: [PATCH] d --- heatcalc/heatcalc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/heatcalc/heatcalc.js b/heatcalc/heatcalc.js index c6ce045..cf6e319 100644 --- a/heatcalc/heatcalc.js +++ b/heatcalc/heatcalc.js @@ -94,7 +94,7 @@ define(["jquery"], function ($) { $('#heatcalc tbody th').css("left", $("#table_container").scrollLeft()); $('#heatcalc thead th:nth-child(1)').css("left", $("#table_container").scrollLeft()); - + /* buttonOffset = $('#button_container').offset().top; @@ -188,6 +188,8 @@ function draw_table(){ // display the table $("#table_container").append(table); + $("#hc_table thead").clone().prependTo("#table_container"); + //enable highlighting $("#hc_table td").on("mouseover", function() { $(this).closest("tr").addClass("hover");