Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit ba9bcce

Browse files
Textinput: Toggle clear button on input event as well.
Fixes problems with multibyte. See issues #1811 and #2834.
1 parent a743616 commit ba9bcce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/forms/textinput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {
9090

9191
toggleClear();
9292

93-
input.bind( "paste cut keyup focus change blur", toggleClear );
93+
input.bind( "paste cut keyup input focus change blur", toggleClear );
9494
}
9595
else if ( !inputNeedsWrap && !isSearch ) {
9696
input.addClass( "ui-corner-all ui-shadow-inset" + themeclass + miniclass );

0 commit comments

Comments
 (0)