0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

[mujs] document.write 1 argument

This commit is contained in:
Witold Filipczyk 2022-08-18 20:22:06 +02:00
parent ff495c7716
commit 43f4dba14f

View File

@ -904,7 +904,7 @@ mjs_document_write_do(js_State *J, int newline)
js_pushnull(J);
return;
}
int argc = js_getlength(J, 0);
int argc = 1;
if (argc >= 1)
{