From 63d07b9fdb7651a2bc14876fef0dc1876a3ef34b Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Thu, 12 Jul 2018 22:21:03 +0200 Subject: [PATCH] Removed dragging for editor settings --- changelog.txt | 1 + configurator.py | 4 ++-- dev.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 4420b71..5e25160 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/configurator.py b/configurator.py index fca608b..6d9f985 100755 --- a/configurator.py +++ b/configurator.py @@ -2283,12 +2283,12 @@ INDEX = Template(r""" 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('.'); diff --git a/dev.html b/dev.html index c207836..b6bdaf3 100644 --- a/dev.html +++ b/dev.html @@ -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('.');