.css() causes error when called on an element not in the DOM on Safari
An undefined return value is fine, but it probably shouldn't throw an exception. A common idiom in the UI classes is 'parseInt($(el).css(prop))
| 0', assigning a default value if the property doesn't exist. This behavior causes the whole widget to break instead of functioning with the defaults (I first noticed it with UI Slider).
Changed 7 years ago by nostrademons
Changed 6 years ago by dmethvin
changed from new to closed
set to fixed