mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-09 09:36:29 +02:00
Remove debug outputs and unnecessary comments
Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
@@ -510,12 +510,8 @@ function IFM(params) {
|
|||||||
aceSession.setOption( 'useSoftTabs', e.srcElement.checked );
|
aceSession.setOption( 'useSoftTabs', e.srcElement.checked );
|
||||||
});
|
});
|
||||||
if( el = content.querySelector("#editor-tabsize" )) {
|
if( el = content.querySelector("#editor-tabsize" )) {
|
||||||
console.log("Found tabSize");
|
|
||||||
el.addEventListener( 'keydown', function( e ) {
|
el.addEventListener( 'keydown', function( e ) {
|
||||||
console.log("Got keydown");
|
|
||||||
console.log("Set tabsize to "+e.srcElement.value);
|
|
||||||
if( e.key == 'Enter' ) {
|
if( e.key == 'Enter' ) {
|
||||||
console.log("Saw ENTER key");
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
aceSession.setOption( 'tabSize', e.srcElement.value );
|
aceSession.setOption( 'tabSize', e.srcElement.value );
|
||||||
}
|
}
|
||||||
@@ -546,8 +542,6 @@ function IFM(params) {
|
|||||||
bindKey: "Ctrl-Shift-F",
|
bindKey: "Ctrl-Shift-F",
|
||||||
exec: function(e) {
|
exec: function(e) {
|
||||||
var el = e.container;
|
var el = e.container;
|
||||||
console.log("toggleFullscreen was called");
|
|
||||||
console.log("el.parentElement.tagName is "+el.parentElement.tagName);
|
|
||||||
if (el.parentElement.tagName == "BODY") {
|
if (el.parentElement.tagName == "BODY") {
|
||||||
el.remove();
|
el.remove();
|
||||||
var fieldset = document.getElementsByClassName('modal-body')[0].firstElementChild;
|
var fieldset = document.getElementsByClassName('modal-body')[0].firstElementChild;
|
||||||
|
@@ -26,12 +26,6 @@ div#content { /* is for the ACE editor */
|
|||||||
height: 350px;
|
height: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* label {
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
font-weight: 700;
|
|
||||||
} */
|
|
||||||
|
|
||||||
/* Make tables more compact (overwrites bootstrap default of 0.75rem) */
|
/* Make tables more compact (overwrites bootstrap default of 0.75rem) */
|
||||||
.table td, .table th {
|
.table td, .table th {
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
|
Reference in New Issue
Block a user