From 349bcb190fe3bb690fb758138a1cec2a605756f8 Mon Sep 17 00:00:00 2001 From: Kin Blas Date: Mon, 4 Oct 2010 13:11:41 -0700 Subject: [PATCH] Added textfield types tel, url, and email to the selector list of customTextInput(). The HTML5 spec says these are also represented by textfields. --- js/jQuery.mobile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jQuery.mobile.js b/js/jQuery.mobile.js index 8b9dc7de..a60a72d4 100644 --- a/js/jQuery.mobile.js +++ b/js/jQuery.mobile.js @@ -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();