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:
parent
b34fda3bb1
commit
67cc6acd45
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user