1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[window] setNull

This commit is contained in:
Witold Filipczyk 2021-08-24 15:12:15 +02:00
parent 0c53e6b59b
commit 206b36b6fe

View File

@ -170,6 +170,8 @@ window_get_property(JSContext *ctx, JS::HandleObject hobj, JS::HandleId hid, JS:
* something yields data. */ * something yields data. */
if (obj) { if (obj) {
hvp.setObject(*obj); hvp.setObject(*obj);
} else {
hvp.setNull();
} }
return true; return true;
} }