mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
fix for 164054: Place selection at first visible content on editor doc load r=brade sr=kin
This commit is contained in:
parent
161ba68052
commit
5ce517c458
@ -1583,10 +1583,6 @@ function SetEditMode(mode)
|
||||
if (gEditor.document.title != title)
|
||||
SetDocumentTitle(title);
|
||||
|
||||
// reset selection to top of doc (wish we could preserve it!)
|
||||
if (bodyNode)
|
||||
gEditor.selection.collapse(bodyNode, 0);
|
||||
|
||||
} catch (ex) {
|
||||
dump(ex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user