summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorkonqoro <capoiosct@gmail.com>2017-12-13 16:14:01 +0200
committerGitHub <noreply@github.com>2017-12-13 16:14:01 +0200
commit422c117a770010d9cf28631d4f6e73eea58117b5 (patch)
tree1b15c873b3a5e48b9636d558514ea0fdab9bc8a8 /lib
parent542d45f8826ec3566108ce6e2c3b456c7798af58 (diff)
downloadNim-422c117a770010d9cf28631d4f6e73eea58117b5.tar.gz
Small fix for js dom
Diffstat (limited to 'lib')
-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