Closed adrianmiranda closed 10 years ago
A very strange pull request, wouldn't you say...?
Just because it's small does not mean it is strange. When you use keyboard enter key, the caret is lost and it is impossible to retype something without this line. like this: http://adrianmiranda.herokuapp.com
on "enter" all you need to do is clear the DIV like this fancyInput.clear( input.nextElementSibling );
and clear the input value as well. The logic should be kept outside the plugin, I think.
Ok, sorry, ignore it!
fancyInput.fillText('', $('#input')[0]);