fixed a var typo. Thanks @mschroeder.

This commit is contained in:
scottjehl 2011-03-14 08:29:17 -04:00
parent fc0cd38c4e
commit 2b7a2669ac

View file

@ -129,7 +129,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
_updateAll: function(){
this._getInputSet().each(function(){
var dVal = $(this).data("cacheVal");
if( dVal && dVal !== $(this).is(":checked") || this.nputtype === "checkbox" ){
if( dVal && dVal !== $(this).is(":checked") || this.inputtype === "checkbox" ){
$(this).trigger("change");
}
})