Skip to content

Commit

Permalink
Update ModalView example to use a button role, since links fail to op…
Browse files Browse the repository at this point in the history
…en it.
  • Loading branch information
bundyo committed Jul 25, 2012
1 parent 7e1f66d commit 3879fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/mobile/modalview.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Fires when the ModalView is shown.
#### Example

<div data-role="view">
<a href="#foo" data-rel="modalview">Foo</a>
<a data-role="button" href="#foo" data-rel="modalview">Foo</a>
<div data-role="modalview" id="foo" data-open="logTarget">
Foo
</div>
Expand Down

0 comments on commit 3879fb8

Please sign in to comment.