Content-Length: 211280 | pFad | https://github.com/jquery/jquery-mobile/commit/a0ec2eb4f39bec039c94ace7a3dc5393a29ff24c

18 Fixes #3086 — Windows Phone 7 seems unable to use find() for an attri… · jquery-archive/jquery-mobile@a0ec2eb · GitHub
Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fixes #3086 — Windows Phone 7 seems unable to use find() for an attri…
Browse files Browse the repository at this point in the history
…bute-based selector, in this context.
  • Loading branch information
Wilto committed Nov 17, 2011
1 parent 61cd735 commit a0ec2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.forms.checkboxradio.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
input = this.element,
// NOTE: Windows Phone could not find the label through a selector
// filter works though.
label = input.closest( "form,fieldset,:jqmData(role='page')" ).find( "label[for='" + input[ 0 ].id + "']"),
label = input.closest( "form,fieldset,:jqmData(role='page')" ).find( "label" ).filter( "[for='" + input[ 0 ].id + "']" ),
inputtype = input.attr( "type" ),
checkedState = inputtype + "-on",
uncheckedState = inputtype + "-off",
Expand Down

0 comments on commit a0ec2eb

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/jquery/jquery-mobile/commit/a0ec2eb4f39bec039c94ace7a3dc5393a29ff24c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy