aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/show-plot-information.ts
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2023-03-23 14:26:18 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2023-03-23 14:26:18 +0530
commit3b29d138bee5e98c9536d3606de3e4b5378338f0 (patch)
treebaddef6b68e970e54404cbfa694811b2aecb8bd1 /src/scripts/show-plot-information.ts
parentb7b840319aaf37cd48461e7a578cc859454a29e3 (diff)
downloadbanglar-bhumi-utils-3b29d138bee5e98c9536d3606de3e4b5378338f0.tar.gz
banglar-bhumi-utils-3b29d138bee5e98c9536d3606de3e4b5378338f0.zip
Some minor changes.
Diffstat (limited to 'src/scripts/show-plot-information.ts')
-rw-r--r--src/scripts/show-plot-information.ts11
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()");
+});