diff --git a/src/js/mujs/document.c b/src/js/mujs/document.c index 581f5b9c0..825fe22a6 100644 --- a/src/js/mujs/document.c +++ b/src/js/mujs/document.c @@ -601,6 +601,7 @@ mjs_document_get_property_readyState(js_State *J) return; } switch (doc_private->state) { + default: case LOADING: js_pushstring(J, "loading"); break;