fix show link for direct execution

This commit is contained in:
dcore94 2024-02-02 19:07:30 +01:00
parent 3f02f0a1a1
commit d4cae32fe2
1 changed files with 1 additions and 2 deletions

View File

@ -121,7 +121,7 @@ class CCPExecutionHistory extends HTMLElement {
</ul>
<div class="d-flex flex-column align-items-end" style="gap: 3px;">
<div class="d-flex align-items-center" style="gap:5px">
<label style="text-rap:nowrap">Generate code for:</label>
<label style="text-wrap:nowrap">Generate code for:</label>
<select name="language-selector" class="form-control">
<option value="text/python" data-ext="py" title="Generate plain Python3">Python 3</option>
<option value="text/plain+r" data-ext="r" title="Generate plain R">R</option>
@ -135,7 +135,6 @@ class CCPExecutionHistory extends HTMLElement {
</button>
</div>
<div class="d-flex align-items-middle" style="gap:5px">
<label style="text-wrap:nowrap">Direct link</label>
<div class="d-flex">
<a name="direct_link_execution" href="${window.location.href}">${window.location.href}</a>
</div>