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
|
||||
messageBox
|
||||
prefs
|
||||
rerouteHotkeys
|
||||
sectionsToMozFormat
|
||||
sessionStore
|
||||
showCodeMirrorPopup
|
||||
|
@ -505,6 +506,7 @@ function SectionsEditor() {
|
|||
si.scrollY2 = si.scrollY + window.innerHeight;
|
||||
container.style.height = si.scrollY2 + 'px';
|
||||
scrollTo(0, si.scrollY);
|
||||
rerouteHotkeys(true);
|
||||
} else {
|
||||
si = null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user