1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-26 21:02:28 +02:00

Enable undo history after loading initial file and fix #1159 (#1180)

This commit is contained in:
Lance Pioch 2018-06-01 01:43:18 -04:00 committed by Dane Everitt
parent b7eed67f2f
commit 357c9e1aed

View File

@ -52,6 +52,7 @@
<script>
$(document).ready(function () {
Editor.setValue($('#editorSetContent').val(), -1);
Editor.getSession().setUndoManager(new ace.UndoManager());
$('#editorLoadingOverlay').hide();
});
</script>