witten
/
luminotes
Archived
1
0
Fork 0

Resizing onload as well since some browsers (e.g. Safari) don't fire onresize on iframes.

This commit is contained in:
Dan Helfman 2007-11-29 20:32:41 +00:00
parent 2e178f08be
commit 08950c2ab7
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ function Editor( id, notebook_id, note_text, deleted_from_id, revision, read_wri
"id": iframe_id,
"name": iframe_id,
"class": "note_frame",
"onresize": function () { setTimeout( function () { self.resize() }, 50 ); }
"onresize": function () { setTimeout( function () { self.resize() }, 50 ); },
"onload": function () { setTimeout( function () { self.resize() }, 250 ); }
} );
this.iframe.editor = this;
this.title = "";