mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:03:26 +02:00
Update RapydScript
This commit is contained in:
parent
889dcc9140
commit
2f6d4ea260
1 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,9 @@ def _makeelement(tag, *args, **kwargs):
|
|||
if str.startswith(attr, 'on'):
|
||||
attr = attr[2:]
|
||||
ans.addEventListener(attr, val)
|
||||
else:
|
||||
elif val is True:
|
||||
ans.setAttribute(vattr, vattr)
|
||||
elif val is not False:
|
||||
ans.setAttribute(vattr, val)
|
||||
|
||||
for arg in args:
|
||||
|
|
|
|||
Loading…
Reference in a new issue