call rerouteHotkeys when restoring scrollInfo
...because we intentionally don't focus any CM in this case as it's bugged as hell
This commit is contained in:
parent
32cca90ddd
commit
b4ca17c531
|
@ -14,6 +14,7 @@
|
||||||
linter
|
linter
|
||||||
messageBox
|
messageBox
|
||||||
prefs
|
prefs
|
||||||
|
rerouteHotkeys
|
||||||
sectionsToMozFormat
|
sectionsToMozFormat
|
||||||
sessionStore
|
sessionStore
|
||||||
showCodeMirrorPopup
|
showCodeMirrorPopup
|
||||||
|
@ -505,6 +506,7 @@ function SectionsEditor() {
|
||||||
si.scrollY2 = si.scrollY + window.innerHeight;
|
si.scrollY2 = si.scrollY + window.innerHeight;
|
||||||
container.style.height = si.scrollY2 + 'px';
|
container.style.height = si.scrollY2 + 'px';
|
||||||
scrollTo(0, si.scrollY);
|
scrollTo(0, si.scrollY);
|
||||||
|
rerouteHotkeys(true);
|
||||||
} else {
|
} else {
|
||||||
si = null;
|
si = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user