Skip to content

Commit

Permalink
[fix] bootstrap.modal: removed aria-labelledby
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Ye committed Dec 13, 2012
1 parent 83d5ad2 commit 975b634
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/stdlib/widgets/bootstrap/modal/modal.opa
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ Modal = {{
@both @both
make(id:string, title:xhtml, body:xhtml, footer:xhtml, options:Modal.options) = make(id:string, title:xhtml, body:xhtml, footer:xhtml, options:Modal.options) =
<div id="{id}" class="modal hide fade" <div id="{id}" class="modal hide fade"
role="dialog" role="dialog" aria-hidden="true"
aria-labelledby="{title}" aria-hidden="true"
onready={_->init(#{id}, options)}> onready={_->init(#{id}, options)}>
<div class="modal-header"> <div class="modal-header">
<a class="close" data-dismiss="modal" aria-hidden="true">&times;</a> <a class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
Expand Down

0 comments on commit 975b634

Please sign in to comment.