From 6e56e04544390f3256c8272eb71578d4ee9a037a Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 9 May 2020 17:44:42 -0400 Subject: [PATCH] Fix error when manually setting an input --- macrovision.js | 1 + 1 file changed, 1 insertion(+) diff --git a/macrovision.js b/macrovision.js index 49667188..6cd26693 100644 --- a/macrovision.js +++ b/macrovision.js @@ -887,6 +887,7 @@ function updateViewOptions(entity, view, changed) { } function setNumericInput(input, value, round = 6) { + if (typeof value == "string") { input.value = value.toPrecision(round); }