witten
/
luminotes
Archived
1
0
Fork 0

Bug fix for when you load a notebook and it has several notes, the page scrolls to part-way down the page after all the iframes load.

This commit is contained in:
Dan Helfman 2008-10-30 14:57:27 -07:00
parent 22c49a9590
commit d62b885e46
1 changed files with 1 additions and 1 deletions

View File

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