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:
parent
59dbacee14
commit
928380aa5f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user