fixed get_value to be exported by hyperweb

This commit is contained in:
Zeno Rogue 2023-04-15 01:19:34 +02:00
parent e63feddb7c
commit 0c473559f3
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace hr {
namespace hr {
string get_value(string name) {
EX string get_value(string name) {
char *str = (char*)EM_ASM_INT({
var name = UTF8ToString($0, $1);
var value = document.getElementById(name).value;