mirror of
https://github.com/rkd77/elinks.git
synced 2025-10-21 19:54:04 -04:00
[mujs] window.document
This commit is contained in:
@@ -1508,7 +1508,7 @@ mjs_document_init(js_State *J)
|
||||
|
||||
}
|
||||
js_defglobal(J, "document", JS_DONTENUM);
|
||||
js_dostring(J, "document.location = location;");
|
||||
js_dostring(J, "document.location = location; window.document = document;");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user