From 0cd27ec52d893647abaac25db127ecbec60d4db8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 17 Sep 2016 10:32:41 +0530 Subject: [PATCH] Update RapydScript --- resources/rapydscript/lib/elementmaker.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: