diff --git a/resources/rapydscript/lib/elementmaker.pyj b/resources/rapydscript/lib/elementmaker.pyj index f97490f035..65620f54f4 100644 --- a/resources/rapydscript/lib/elementmaker.pyj +++ b/resources/rapydscript/lib/elementmaker.pyj @@ -48,7 +48,7 @@ def _makeelement(tag, *args, **kwargs): ans.addEventListener(attr, val) elif val is True: ans.setAttribute(vattr, vattr) - elif val is not False: + elif type(val) is 'string': ans.setAttribute(vattr, val) for arg in args: