witten
/
luminotes
Archived
1
0
Fork 0

Setting a slight delay on the resize so that it works properly.

This commit is contained in:
Dan Helfman 2009-01-09 14:35:47 -08:00
parent f36d6b9500
commit 36e1843f66
1 changed files with 2 additions and 1 deletions

View File

@ -187,8 +187,9 @@ Editor.prototype.create_iframe = function ( position_after ) {
else
appendChildNodes( "notes", note_holder );
var self = this;
this.set_iframe_contents( this.contents() );
this.resize();
setTimeout( function() { self.resize(); }, 1 );
removeElementClass( this.iframe, "invisible" );
this.enable_design_mode();
}