diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 800852c08f..8e72895868 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -57,7 +57,7 @@ $.widget( "ui.selectmenu", { _drawButton: function() { var tabindex = this.element.attr( "tabindex" ); - // Fix existing label + // Associate existing label with the new button this.label = $( "label[for='" + this.ids.element + "']" ).attr( "for", this.ids.button ); this._on( this.label, { click: function( event ) { @@ -66,7 +66,7 @@ $.widget( "ui.selectmenu", { } }); - // Hide original select tag + // Hide original select element this.element.hide(); // Create button @@ -101,7 +101,7 @@ $.widget( "ui.selectmenu", { _drawMenu: function() { var that = this; - // Create menu portion, append to body + // Create menu this.menu = $( "