Skip to content

Commit

Permalink
Fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Oct 14, 2018
1 parent 2c2d849 commit fb1b49b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions edit/sections-editor-section.js
Expand Up @@ -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));
Expand Down

0 comments on commit fb1b49b

Please sign in to comment.