mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update RapydScript
This commit is contained in:
parent
889dcc9140
commit
2f6d4ea260
@ -46,7 +46,9 @@ def _makeelement(tag, *args, **kwargs):
|
|||||||
if str.startswith(attr, 'on'):
|
if str.startswith(attr, 'on'):
|
||||||
attr = attr[2:]
|
attr = attr[2:]
|
||||||
ans.addEventListener(attr, val)
|
ans.addEventListener(attr, val)
|
||||||
else:
|
elif val is True:
|
||||||
|
ans.setAttribute(vattr, vattr)
|
||||||
|
elif val is not False:
|
||||||
ans.setAttribute(vattr, val)
|
ans.setAttribute(vattr, val)
|
||||||
|
|
||||||
for arg in args:
|
for arg in args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user