Hacker News new | ask | show | jobs
by j-hernandez 4596 days ago
Aside from losing input when tabbing out, works a treat in Opera. Can think of a couple of places that a fork of this might come in handy in my work this week. Clever, thanks for sharing
1 comments

it does a parseFloat() on the input, so input that can't be coerced into a float gets turned into NaN and not displayed.
Makes sense, hadn't even looked that closely at the code before I commented - all 30 lines of it, ha. Shame on me.
Looks like that particular problem has been fixed.