зеркало из https://github.com/mozilla/pjs.git
fix for 164054: Place selection at first visible content on editor doc load r=brade sr=kin
This commit is contained in:
Родитель
aa73f56058
Коммит
0ef08d01b8
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче