Permalink
Browse files

Textinput: Toggle clear button on input event as well.

Fixes problems with multibyte. See issues #1811 and #2834.
  • Loading branch information...
jaspermdegroot committed Dec 3, 2012
1 parent a743616 commit ba9bccea7bacb85da193809f761366b0b82a5d75
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/textinput.js
@@ -90,7 +90,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {
toggleClear();
input.bind( "paste cut keyup focus change blur", toggleClear );
input.bind( "paste cut keyup input focus change blur", toggleClear );
}
else if ( !inputNeedsWrap && !isSearch ) {
input.addClass( "ui-corner-all ui-shadow-inset" + themeclass + miniclass );

1 comment on commit ba9bcce

@29668

This comment has been minimized.

Show comment
Hide comment

29668 commented on ba9bcce Aug 31, 2013

ssss

Please sign in to comment.