Fix: minor
This commit is contained in:
parent
2c2d849fa4
commit
fb1b49b8bb
|
@ -180,15 +180,6 @@ function createSection({
|
|||
event.preventDefault();
|
||||
showMozillaFormatImport(text);
|
||||
}
|
||||
// FIXME: why?
|
||||
// if (editors.length === 1) {
|
||||
// setTimeout(() => {
|
||||
// if (cm.display.sizer.clientHeight > cm.display.wrapper.clientHeight) {
|
||||
// maximizeCodeHeight.stats = null;
|
||||
// maximizeCodeHeight(cm.getSection(), true);
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
});
|
||||
if (!FIREFOX) {
|
||||
cm.on('mousedown', (cm, event) => toggleContextMenuDelete.call(cm, event));
|
||||
|
|
Loading…
Reference in New Issue
Block a user