Commit a00d1350 authored by yann300's avatar yann300

set input value

parent 9411dec1
...@@ -76,6 +76,7 @@ class SettingsUI { ...@@ -76,6 +76,7 @@ class SettingsUI {
let v let v
try { try {
v = new BN(valueEl.value, 10) v = new BN(valueEl.value, 10)
valueEl.value = v.toString(10)
} catch (e) { } catch (e) {
// assign 0 if given value is // assign 0 if given value is
// - not valid (for ex 4345-54) // - not valid (for ex 4345-54)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment