From 1497f3c82fdfde60ceac786d368dec1befa3a655 Mon Sep 17 00:00:00 2001 From: James Date: Sun, 29 Mar 2020 09:37:15 +0100 Subject: [PATCH] g --- heatcalc/heatcalc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heatcalc/heatcalc.js b/heatcalc/heatcalc.js index 7fd24d8..437719c 100644 --- a/heatcalc/heatcalc.js +++ b/heatcalc/heatcalc.js @@ -85,10 +85,10 @@ define(["jquery"], function ($) { console.log("tt:"+tableTop+" st:"+scrollTop+" bt:"+buttonTop); if( scrollTop > tableTop ){ - //$("#button_container").css('top', tableTop-(scrollTop-tableTop)); + $("#button_container").css('top', 0); $("#button_container").css('position', 'fixed'); }else{ - //$("#button_container").css('top', tableTop); + $("#button_container").css('top', 'auto'); $("#button_container").css('position', 'absolute'); }