0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

[quickjs] Added default case

This commit is contained in:
Witold Filipczyk 2024-12-02 17:21:42 +01:00
parent 59dbacee14
commit 928380aa5f

View File

@ -718,6 +718,7 @@ js_document_get_property_readyState(JSContext *ctx, JSValueConst this_val)
JSValue r;
switch (doc_private->state) {
default:
case LOADING:
r = JS_NewString(ctx, "loading");
break;