summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/js/dom.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim
index cdefc772c..aa7f5d839 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