On function editor, if the editor loads slow enough then you can see the code/environment json as html text so I changed the text to transparent to avoid this, not a real fix (For some reason I cant find any mention of other people having this issue)
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="editor" class="relative rounded-lg shadow-lg p-4">{{ script }}</div>
|
||||
<div id="editor" class="relative rounded-lg shadow-lg p-4 text-opacity-0">{{ script }}</div>
|
||||
<script>
|
||||
var editor = ace.edit("editor");
|
||||
editor.setOptions({
|
||||
@@ -80,7 +80,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="editor-environment" class="relative rounded-lg shadow-lg p-4 mb-2">{{ environment_info }}</div>
|
||||
<div id="editor-environment" class="relative rounded-lg shadow-lg p-4 mb-2 text-opacity-0">{{ environment_info }}
|
||||
</div>
|
||||
<script>
|
||||
var editor_environment = ace.edit("editor-environment");
|
||||
editor_environment.setOptions({
|
||||
|
||||
Reference in New Issue
Block a user