1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

[quickjs] Try another time to alert('something');

This commit is contained in:
Witold Filipczyk 2023-01-26 20:55:49 +01:00
parent 2ed5c926aa
commit 4ddf484e01

View File

@ -772,6 +772,8 @@ js_window_init(JSContext *ctx)
JS_SetClassProto(ctx, js_window_class_id, window_proto);
JS_SetPropertyStr(ctx, global_obj, "window", JS_DupValue(ctx, window_proto));
JS_SetPropertyFunctionList(ctx, global_obj, js_window_proto_funcs, countof(js_window_proto_funcs));
JS_FreeValue(ctx, global_obj);
return 0;