Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

no transition on the back key

  • Loading branch information...
commit c68eb590addf1719983b4f6c71c8f14578652b29 1 parent 4ea3281
Kris Brown krisb authored

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +0 1  TODO.txt
  2. +3 0  public/js/showoff.js
1  TODO.txt
... ... @@ -1,7 +1,6 @@
1 1 TODO
2 2 =================
3 3
4   -- no transition on the back key
5 4 - can have showoff.json in each subdir
6 5 - showoff add
7 6 - add new slide/section
3  public/js/showoff.js
@@ -131,6 +131,9 @@ function showSlide(back_step) {
131 131
132 132 currentSlide = slides.eq(slidenum)
133 133 var transition = currentSlide.attr('data-transition')
  134 + if (back_step) {
  135 + transition = 'none'
  136 + }
134 137 $('#preso').cycle(slidenum, transition)
135 138
136 139 percent = getSlidePercent()

0 comments on commit c68eb59

Please sign in to comment.
Something went wrong with that request. Please try again.