From 4e030dab1d6f384f51f787c847843a23c5a300f8 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Tue, 4 Aug 2020 22:06:32 +0200 Subject: [PATCH] Remove debug outputs and unnecessary comments Signed-off-by: Marco Dickert --- src/ifm.js | 6 ------ src/style.css | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/ifm.js b/src/ifm.js index 7ce5573..4616de4 100644 --- a/src/ifm.js +++ b/src/ifm.js @@ -510,12 +510,8 @@ function IFM(params) { aceSession.setOption( 'useSoftTabs', e.srcElement.checked ); }); if( el = content.querySelector("#editor-tabsize" )) { - console.log("Found tabSize"); el.addEventListener( 'keydown', function( e ) { - console.log("Got keydown"); - console.log("Set tabsize to "+e.srcElement.value); if( e.key == 'Enter' ) { - console.log("Saw ENTER key"); e.preventDefault(); aceSession.setOption( 'tabSize', e.srcElement.value ); } @@ -546,8 +542,6 @@ function IFM(params) { bindKey: "Ctrl-Shift-F", exec: function(e) { var el = e.container; - console.log("toggleFullscreen was called"); - console.log("el.parentElement.tagName is "+el.parentElement.tagName); if (el.parentElement.tagName == "BODY") { el.remove(); var fieldset = document.getElementsByClassName('modal-body')[0].firstElementChild; diff --git a/src/style.css b/src/style.css index 141c024..4afffc1 100644 --- a/src/style.css +++ b/src/style.css @@ -26,12 +26,6 @@ div#content { /* is for the ACE editor */ height: 350px; } -/* label { - display: inline-block; - margin-bottom: .5rem; - font-weight: 700; -} */ - /* Make tables more compact (overwrites bootstrap default of 0.75rem) */ .table td, .table th { padding: 0.25rem;