0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[quickjs] scroll2.html works

This commit is contained in:
Witold Filipczyk
2021-11-12 21:53:31 +01:00
parent 28fba3eab3
commit 38060fea51
6 changed files with 29 additions and 43 deletions

View File

@@ -82,7 +82,9 @@ struct ecmascript_interpreter {
void *document_obj;
void *location_obj;
#endif
#ifdef CONFIG_ECMASCRIPT_SMJS
#ifdef CONFIG_QUICKJS
JSValueConst fun;
#else
JS::RootedValue fun;
#endif
bool changed;