Permalink
Browse files

add inputs without a type to the text input list Fixes #2205

  • Loading branch information...
1 parent 3d88760 commit aa679a9b0f9a8af24f8c2411022bab82e32cd79d @johnbender johnbender committed Sep 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.forms.textinput.js
@@ -10,7 +10,7 @@
$.widget( "mobile.textinput", $.mobile.widget, {
options: {
theme: null,
- initSelector: "input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea"
+ initSelector: "input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea, input:not([type])"
},
_create: function() {

0 comments on commit aa679a9

Please sign in to comment.