Skip to content

Commit

Permalink
Respect postfixes for unique id in mod_search
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmert authored Jul 21, 2016
1 parent 6d8ca30 commit fd247c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/beez3/javascript/hide.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function wrapperwidth(width) {
// add Wai-Aria landmark-roles
jQuery(function($) {
$('#nav').attr('role', 'navigation');
$('#mod-search-searchword').closest('form').attr('role', 'search');
$('input[id^="mod-search-searchword"]').closest('form').attr('role', 'search');
$('#main').attr('role', 'main');
$('#right').attr('role', 'contentinfo');
});
Expand Down

0 comments on commit fd247c0

Please sign in to comment.