diff options
Diffstat (limited to 'src/scripts/show-plot-information.ts')
| -rw-r--r-- | src/scripts/show-plot-information.ts | 11 |
1 files changed, 11 insertions, 0 deletions
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()"); +}); |
