changeset 370:ea7a24c814e4

js: Event.type -> Event.Type
author David Demelier <markand@malikania.fr>
date Sun, 24 Oct 2021 17:38:01 +0200
parents 1e06f871dc63
children 8ac282bd5935
files src/libmlk-core-js/core/js-event.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libmlk-core-js/core/js-event.c	Sun Oct 24 17:33:12 2021 +0200
+++ b/src/libmlk-core-js/core/js-event.c	Sun Oct 24 17:38:01 2021 +0200
@@ -291,6 +291,6 @@
 {
 	duk_push_object(ctx);
 	duk_push_int(ctx, ev->type);
-	duk_put_prop_string(ctx, -2, "type");
+	duk_put_prop_string(ctx, -2, "Type");
 	push[ev->type](ctx, ev);
 }