witten
/
luminotes
Archived
1
0
Fork 0

Properly handling hitting page-up at the top or page-down at the bottom of the notes.

This commit is contained in:
Dan Helfman 2009-02-10 02:04:37 -08:00
parent 3b335cca89
commit d0aa2614bc
1 changed files with 4 additions and 0 deletions

View File

@ -1213,6 +1213,8 @@ Wiki.prototype.focus_previous_editor = function () {
}
var previous_editor = this.focused_editor.previous_editor();
if ( !previous_editor ) return;
this.editor_focused( null );
previous_editor.highlight();
}
@ -1226,6 +1228,8 @@ Wiki.prototype.focus_next_editor = function () {
}
var next_editor = this.focused_editor.next_editor();
if ( !next_editor ) return;
this.editor_focused( null );
next_editor.highlight();
}