brownplt/flapjax

Giving Classes to Time-varying DOM Elements is broken

violetcereza opened this issue · 0 comments

IDs work, I'm not sure why (this is happening in Chrome). It's probably one of those funky DOM interaction things. I wouldn't know about that, since I'm a jQuery lover. This seems to work though:

// line 1368

// was
obj[prop] = val;

// is
obj.setAttribute(prop, val);

Probably should change line 1350 too, to be consistant.