summary refs log tree commit diff stats
path: root/lib/js/dom.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/js/dom.nim')
-rw-r--r--lib/js/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim
index d4e8ce86a..59d1381c7 100644
--- a/lib/js/dom.nim
+++ b/lib/js/dom.nim
@@ -10,7 +10,7 @@
 ## Declaration of the Document Object Model for the `JavaScript backend
 ## <backends.html#backends-the-javascript-target>`_.
 import std/private/since
-when not defined(js) and not defined(Nimdoc):
+when not defined(js):
   {.error: "This module only works on the JavaScript platform".}
 
 const