From bb4eda1872d57c3194abf97d8e3a824ffe555a46 Mon Sep 17 00:00:00 2001 From: Evgeny Blokhin Date: Fri, 15 Mar 2024 16:07:06 +0100 Subject: [PATCH] Fix minor ptable bug --- src_js/ptable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_js/ptable.js b/src_js/ptable.js index c807933..7bf8b11 100644 --- a/src_js/ptable.js +++ b/src_js/ptable.js @@ -35,7 +35,7 @@ wmgui.ptable.activate = function(){ wmgui.ptable.activated = true; document.getElementById('ermac_logo').classList.add('resulted'); document.getElementById('ptable_holder').classList.add('resulted'); - document.getElementById('ptable_dtypes_box').classList.add('resulted'); + if (window.scrollY <= 40) document.getElementById('ptable_dtypes_box').classList.add('resulted'); wmgui.mpdsgui.ptable_activate(); };