Skip to content

Commit

Permalink
Fix jump ("j"), which did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
mc7244 committed Nov 20, 2011
1 parent e707b4f commit add6a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -2,6 +2,7 @@ Version CURRENT
- Also show total number of slides when pressing "n"
- Bugfix: only wrap slide children in preprocess_slides_contents(),
and not all descendants
- Bugfix: jump ("j") did not work

Version 0.60 - 2011-11-18
- Calculation of font size is now much more precise
Expand Down
2 changes: 1 addition & 1 deletion presentazion.js
Expand Up @@ -217,7 +217,7 @@ Presentazion = {
case 74: // j
var nto_str = prompt("Enter slide number to jump to (1-" + (this.max_slide+1) + ")", "1");
var nto = parseInt(nto_str);
if ( nto && nto > 0 && nto <= (max_slide+1) ) {
if ( nto && nto > 0 && nto <= (this.max_slide+1) ) {
this.change_slide( nto - 1 );
e.preventDefault();
}
Expand Down

0 comments on commit add6a2b

Please sign in to comment.