Removed dragging for editor settings

This commit is contained in:
Daniel Perna 2018-07-12 22:21:03 +02:00
parent f6dca0d717
commit 63d07b9fdb
3 changed files with 5 additions and 4 deletions

View file

@ -11,6 +11,7 @@ Version 0.3.0 (2018-)
- GIT setting can now be set with settings file or environment variable @danielperna84
- LISTENPORT has been renamed to PORT (LISTENPORT still works though)
- Hiding git menu when git is disabled @danielperna84
- Removed right dragging area for editor settings (Issue #102) @danielperna84
Version 0.2.9 (2018-06-22)
- Material Icons and HASS-help now open in new tab instead of modal (Issues #85 and #34) @danielperna84

View file

@ -2283,12 +2283,12 @@ INDEX = Template(r"""<!DOCTYPE html>
closeOnClick: false,
draggable: true
});
$('.ace_settings-collapse').sideNav({
/*$('.ace_settings-collapse').sideNav({
menuWidth: 300,
edge: 'right',
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('.');

View file

@ -2182,12 +2182,12 @@
closeOnClick: false,
draggable: true
});
$('.ace_settings-collapse').sideNav({
/*$('.ace_settings-collapse').sideNav({
menuWidth: 300,
edge: 'right',
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('.');