This commit is contained in:
Kovid Goyal 2016-04-30 10:46:09 +05:30
parent 578085765c
commit 45853001cb

View File

@ -25,6 +25,8 @@ simple_vendor_prefixes = {
}
def set_css(elem, **kw):
if type(elem) is 'string':
elem = document.querySelector(elem)
s = elem.style
if s:
for prop in kw: