Added textfield types tel, url, and email to the selector list of customTextInput(). The HTML5 spec says these are also represented by textfields.

This commit is contained in:
Kin Blas 2010-10-04 13:11:41 -07:00
parent 83c46b1f79
commit 349bcb190f

View file

@ -274,7 +274,7 @@
$el.find('input[type=radio],input[type=checkbox]').customCheckboxRadio();
$el.find('button, input[type=submit], input[type=reset], input[type=image]').customButton();
$el.find('input[type=text],input[type=number],input[type=password],textarea').customTextInput();
$el.find('input[type=text],input[type=number],input[type=tel],input[type=url],input[type=email],input[type=password],textarea').customTextInput();
$el.find("input, select").filter('[data-role="slider"]').slider();
$el.find('select').not('[data-role="slider"]').customSelect();