added forgotten sethumanreadable.js
parent
2fbef82fd2
commit
2ca762b3b6
|
@ -0,0 +1,10 @@
|
|||
function setHumanReadableValue(el, key){
|
||||
fetch('/getHumanReadable/' + key, {
|
||||
headers: {
|
||||
"token": webpass
|
||||
}})
|
||||
.then((resp) => resp.text())
|
||||
.then(function(resp) {
|
||||
el.value = resp
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue