Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Selectmenu: small improvement for label id setting

  • Loading branch information...
commit b8cce0c3e16323bd83b3d7a72bb35af7b98954e4 1 parent e059376
@fnagel fnagel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.selectmenu.js
View
2  ui/jquery.ui.selectmenu.js
@@ -75,7 +75,7 @@ $.widget( "ui.selectmenu", {
var tabindex = this.element.attr( 'tabindex' );
// Find existing label
- this.labelElement = $( "label[for='" + this.element.attr("id") + "']" ).uniqueId();
+ this.labelElement = $( "label[for='" + this.ids.id + "']" ).uniqueId();
// hide original select tag
this.element.hide();
Please sign in to comment.
Something went wrong with that request. Please try again.