1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[quickjs] getDocument2 instead of getDocument

Python doc search finds something, but display error.
This commit is contained in:
Witold Filipczyk 2024-10-01 20:56:31 +02:00
parent 61de3cf8e1
commit b904e4380e

View File

@ -62,7 +62,7 @@ js_implementation_createHTMLDocument(JSContext *ctx, JSValueConst this_val, int
done_string(&str);
JS_FreeCString(ctx, title);
JSValue rr = JS_DupValue(ctx, getDocument(ctx, docu));
JSValue rr = JS_DupValue(ctx, getDocument2(ctx, docu));
RETURN_JS(rr);
}