From 3b29d138bee5e98c9536d3606de3e4b5378338f0 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Thu, 23 Mar 2023 14:26:18 +0530 Subject: Some minor changes. --- src/scripts/show-plot-information.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/scripts/show-plot-information.ts (limited to 'src/scripts/show-plot-information.ts') diff --git a/src/scripts/show-plot-information.ts b/src/scripts/show-plot-information.ts new file mode 100644 index 0000000..aec56d6 --- /dev/null +++ b/src/scripts/show-plot-information.ts @@ -0,0 +1,11 @@ +declare function loadKhatian(): void; + +document.addEventListener("DOMContentLoaded", () => { + (window as any).customLoadKhatian = () => { + loadKhatian(); + setTimeout(() => { + (document.querySelector("#khdetails > table > tbody > tr > td:nth-child(1) > div:nth-child(5) > table > tbody") as any).style.height = "auto"; + }, 1000); + }; + document.querySelector("#khbutton")!.setAttribute("onclick", "customLoadKhatian()"); +}); -- cgit v1.2.3