Fixing note highlighting when opening an old revision of a note.
This commit is contained in:
parent
a6540e6da3
commit
4e31959dfd
|
@ -362,11 +362,14 @@ Editor.prototype.connect_handlers = function () {
|
||||||
this.exec_command( "insertbronreturn", true );
|
this.exec_command( "insertbronreturn", true );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( this.init_highlight && this.iframe )
|
if ( this.init_highlight ) {
|
||||||
this.highlight();
|
this.highlight();
|
||||||
|
this.init_highlight = false;
|
||||||
|
}
|
||||||
|
|
||||||
this.scrape_title();
|
this.scrape_title();
|
||||||
if ( this.init_focus ) {
|
if ( this.init_focus ) {
|
||||||
|
this.init_focus = false;
|
||||||
if ( this.iframe )
|
if ( this.iframe )
|
||||||
this.focus();
|
this.focus();
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user