Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Custom select: Add "role=button" to multiple select popup close button.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Jul 17, 2013
1 parent acc0c44 commit f7c0578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/widgets/forms/select.custom.js
Expand Up @@ -161,6 +161,7 @@ $.widget( "mobile.selectmenu", $.mobile.selectmenu, {

if ( this.isMultiple ) {
headerClose = $( "<a>", {
"role": "button",
"text": o.closeText,
"href": "#",
"class": "ui-btn ui-corner-all ui-btn-left ui-btn-icon-notext ui-icon-delete"
Expand Down Expand Up @@ -545,4 +546,4 @@ $.mobile._enhancer.add( "mobile.selectmenu", { dependencies: [ "mobile.popup" ]
})( jQuery );
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
});
//>>excludeEnd("jqmBuildExclude");
//>>excludeEnd("jqmBuildExclude");

0 comments on commit f7c0578

Please sign in to comment.