diff --git a/index.html b/index.html
index 2efc239..01aa414 100644
--- a/index.html
+++ b/index.html
@@ -618,6 +618,12 @@
return String(str).charAt(0).toUpperCase() + String(str).slice(1);
};
+ const getSelectedPool = () => {
+ var currentPoolSelector = document.querySelector("input[name=pool-selector]:checked");
+
+ return (currentPoolSelector === null) ? null : currentPoolSelector.value;
+ };
+
document.addEventListener(
"DOMContentLoaded",
() => {