summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2017-12-13 21:45:47 +0000
committerGitHub <noreply@github.com>2017-12-13 21:45:47 +0000
commit3546a89e8785051163d5ee28ed17d028072eb08c (patch)
tree1b15c873b3a5e48b9636d558514ea0fdab9bc8a8 /lib
parent542d45f8826ec3566108ce6e2c3b456c7798af58 (diff)
parent422c117a770010d9cf28631d4f6e73eea58117b5 (diff)
downloadNim-3546a89e8785051163d5ee28ed17d028072eb08c.tar.gz
Merge pull request #6919 from konqoro/patch-19
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