Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Reagle committed Jun 26, 2012
1 parent 1e6355e commit 4dbfee5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,9 @@ <h1>End!</h1>
if (next) {
next.setAttribute("aria-selected", "true");
var video = next.$("video");
if (this.html.classList.contains("view")) {
next.scrollIntoView();
}
if (video && !!+this.params.autoplay) {
video.play();
}
Expand Down

0 comments on commit 4dbfee5

Please sign in to comment.