From 2b7a2669ac6235ebd7ce7ea1fa075a1fbc228c96 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 08:29:17 -0400 Subject: [PATCH] fixed a var typo. Thanks @mschroeder. --- js/jquery.mobile.forms.checkboxradio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.forms.checkboxradio.js b/js/jquery.mobile.forms.checkboxradio.js index 10a80e66..51962029 100644 --- a/js/jquery.mobile.forms.checkboxradio.js +++ b/js/jquery.mobile.forms.checkboxradio.js @@ -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"); } })