plumatic / dommy

A tiny ClojureScript DOM manipulation and event library
758 stars 74 forks source link

set-style! not working in Firefox (at least 25.0.1) #64

Closed juskrey closed 10 years ago

juskrey commented 10 years ago

Probably has relation to this: http://stackoverflow.com/questions/12272288/how-can-i-get-firefox-to-set-style-attributes-using-styleattribute-name

E.g. document.getElementById("firefoxDiv").style['backgroundColor'] = "Red"; vs document.getElementById("firefoxDiv").style.setProperty('background-color', 'red'); in Firefox