Update config view

This commit is contained in:
Daniel Supernault 2019-06-20 20:16:54 -06:00
parent 4630b4c2c8
commit 0b20082b73
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -32,12 +32,12 @@
@endsection
@if($editor == true)
@push('scripts')
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.4/ace.js"></script>
<script src="{{mix('js/ace.js')}}"></script>
<script>
let editor = ace.edit("editor");
editor.session.setUseWrapMode(true);
editor.setTheme("ace/theme/monokai");
editor.session.setMode("ace/mode/javascript");
editor.session.setMode("ace/mode/dot");
$('.btn-restore').on('click', function(e) {
e.preventDefault();