witten
/
luminotes
Archived
1
0
Fork 0

Fixing note highlighting when opening an old revision of a note.

This commit is contained in:
Dan Helfman 2009-01-12 16:24:52 -08:00
parent a6540e6da3
commit 4e31959dfd
1 changed files with 4 additions and 1 deletions

View File

@ -362,11 +362,14 @@ Editor.prototype.connect_handlers = function () {
this.exec_command( "insertbronreturn", true );
}
if ( this.init_highlight && this.iframe )
if ( this.init_highlight ) {
this.highlight();
this.init_highlight = false;
}
this.scrape_title();
if ( this.init_focus ) {
this.init_focus = false;
if ( this.iframe )
this.focus();