diff options
-rw-r--r-- | web/share/js/tools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/tools.js b/web/share/js/tools.js index 580c0f92..3cf48252 100644 --- a/web/share/js/tools.js +++ b/web/share/js/tools.js @@ -141,7 +141,7 @@ export var tools = new function() { } }; - this.getRadioValue = function(name, value) { + this.getRadioValue = function(name) { return document.querySelector(`input[type="radio"][name="${name}"]:checked`).value; }; |