diff --git a/configurator.py b/configurator.py index 4d06ba4..7126347 100755 --- a/configurator.py +++ b/configurator.py @@ -2169,6 +2169,8 @@ INDEX = Template(r""" closeOnClick: true, draggable: true }); + // This fixes the dead spaces when trying to close the file browser + $(document).on('click', '.drag-target', function(){$('.button-collapse').sideNav('hide');}) listdir('.'); document.getElementById('savePrompt').checked = get_save_prompt(); }); diff --git a/dev.html b/dev.html index 16e23a5..dfa94f9 100644 --- a/dev.html +++ b/dev.html @@ -2082,6 +2082,8 @@ closeOnClick: true, draggable: true }); + // This fixes the dead spaces when trying to close the file browser + $(document).on('click', '.drag-target', function(){$('.button-collapse').sideNav('hide');}) listdir('.'); document.getElementById('savePrompt').checked = get_save_prompt(); });