lojjic/PIE — Issue #191: Issue with Replace Class on Drag/Drop
Author: mrgcohen
Created: 2011-12-29 16:41:57+00:00
State: open

I found when I used this polyfill in a sortable JQuery element it bombed on changing the class back to the original because the element was undefined. To prevent error I wrapped in if:

Before:
m.className=m.className.replace(t,"")

After:
if(m)m.className=m.className.replace(t,"")

This would only be an issue in Old IE.

Otherwise love the polyfill!