witten
/
luminotes
Archived
1
0
Fork 0

Safari/Chrome notes now start out in title mode (again).

This commit is contained in:
Dan Helfman 2008-10-02 23:59:39 -07:00
parent a0b189695c
commit 41dade9f28
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ Editor.prototype.exec_command = function ( command, parameter ) {
Editor.prototype.insert_html = function ( html ) {
if ( html.length == 0 ) return;
if ( !this.edit_enabled ) {
if ( !this.edit_enabled || strip( this.contents() ) == "" ) {
this.document.body.innerHTML = html;
return;
}