From 422c117a770010d9cf28631d4f6e73eea58117b5 Mon Sep 17 00:00:00 2001 From: konqoro Date: Wed, 13 Dec 2017 16:14:01 +0200 Subject: [PATCH] Small fix for js dom --- lib/js/dom.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/js/dom.nim b/lib/js/dom.nim index cdefc772c5..aa7f5d8396 100644 --- a/lib/js/dom.nim +++ b/lib/js/dom.nim @@ -134,9 +134,9 @@ type # https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement HtmlElement* = ref object of Element - contentEditable*: string + contentEditable*: cstring isContentEditable*: bool - dir*: string + dir*: cstring offsetHeight*: int offsetWidth*: int offsetLeft*: int