From fb1b49b8bb7c0b4cd089d9a3b22dd744dea35f05 Mon Sep 17 00:00:00 2001 From: eight Date: Sun, 14 Oct 2018 16:27:17 +0800 Subject: [PATCH] Fix: minor --- edit/sections-editor-section.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/edit/sections-editor-section.js b/edit/sections-editor-section.js index f4b21cc9..087e231c 100644 --- a/edit/sections-editor-section.js +++ b/edit/sections-editor-section.js @@ -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));