diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-07-20 13:58:10 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-07-20 13:58:10 +0200 |
commit | 88ec776178b62d21ac6e218946800b2d0c2b0b78 (patch) | |
tree | 32373be01cb84e71cfa698f78ac56d6d400632bc /ui/jquery.ui.button.js | |
parent | 4be0942af0d0a73541148899fbb2e0c406795c79 (diff) | |
parent | 5debdb08d7702e9c04b4efa883c68d350576d710 (diff) | |
download | jquery-ui-88ec776178b62d21ac6e218946800b2d0c2b0b78.tar.gz jquery-ui-88ec776178b62d21ac6e218946800b2d0c2b0b78.zip |
Merge remote branch 'origin/master'
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r-- | ui/jquery.ui.button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index db8c8b27b..b2fab4d24 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -196,7 +196,7 @@ $.widget( "ui.button", { // we don't search against the document in case the element // is disconnected from the DOM this.buttonElement = this.element.parents().last() - .find( "[for=" + this.element.attr("id") + "]" ); + .find( "label[for=" + this.element.attr("id") + "]" ); this.element.addClass( "ui-helper-hidden-accessible" ); var checked = this.element.is( ":checked" ); |