Skip to content

Commit 491d4a6

Browse files
author
scottjehl
committed
moved some selectors over to :jqmData()
1 parent 2add396 commit 491d4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiments/ui-datepicker/jquery.ui.datepicker.mobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
//bind to pagecreate to automatically enhance date inputs
5050
$( ".ui-page" ).live( "pagecreate", function(){
51-
$( "input[type='date'], input[data-"+ $.mobile.ns +"type='date']" ).each(function(){
51+
$( "input[type='date'], input:jqmData(type='date')" ).each(function(){
5252
$(this).after( $( "<div />" ).datepicker({ altField: "#" + $(this).attr( "id" ), showOtherMonths: true }) );
5353
});
5454
});

0 commit comments

Comments
 (0)