1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[mujs] window.document

This commit is contained in:
Witold Filipczyk 2022-08-27 19:56:28 +02:00
parent b34fda3bb1
commit 67cc6acd45

View File

@ -1508,7 +1508,7 @@ mjs_document_init(js_State *J)
} }
js_defglobal(J, "document", JS_DONTENUM); js_defglobal(J, "document", JS_DONTENUM);
js_dostring(J, "document.location = location;"); js_dostring(J, "document.location = location; window.document = document;");
return 0; return 0;
} }