mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[quickjs] window removed DupValue
This commit is contained in:
parent
8f2adc56f0
commit
4b5e2fe808
@ -728,7 +728,7 @@ js_window_init(JSContext *ctx)
|
||||
REF_JS(global_obj);
|
||||
|
||||
JS_SetPropertyFunctionList(ctx, global_obj, js_window_proto_funcs, countof(js_window_proto_funcs));
|
||||
JS_SetPropertyStr(ctx, global_obj, "window", JS_DupValue(ctx, global_obj));
|
||||
JS_SetPropertyStr(ctx, global_obj, "window", global_obj);
|
||||
|
||||
JS_FreeValue(ctx, global_obj);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user