mirror of
https://github.com/ivabus/www
synced 2024-11-22 13:15:06 +03:00
Merge pull request #299 from teaxyz/instructions-need-sh
Instructions Need 'sh' Appended
This commit is contained in:
commit
1753c555d3
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="row mt-3 mb-3" onclick="myFunction()">
|
<div class="row mt-3 mb-3" onclick="myFunction()">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="input-container p-1" style="display:flex; justify-content:space-between;">
|
<div class="input-container p-1" style="display:flex; justify-content:space-between;">
|
||||||
<input class="one-liner ms-3" type="text" value="sh <(curl tea.xyz) +{{- .full_name -}}" id="shortcodeCopy" readonly>
|
<input class="one-liner ms-3" type="text" value="sh <(curl tea.xyz) +{{- .full_name -}} sh" id="shortcodeCopy" readonly>
|
||||||
|
|
||||||
<!-- The button used to copy the text -->
|
<!-- The button used to copy the text -->
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
copyText.setSelectionRange(0, 99999); // For mobile devices
|
copyText.setSelectionRange(0, 99999); // For mobile devices
|
||||||
|
|
||||||
// Copy the text inside the text field
|
// Copy the text inside the text field
|
||||||
navigator.clipboard.writeText(copiedValue + " +{{- .full_name -}}");
|
navigator.clipboard.writeText(copiedValue + " +{{- .full_name -}}" + " " + "sh");
|
||||||
|
|
||||||
document.getElementById("liveToastBtn").innerHTML = "copied!";
|
document.getElementById("liveToastBtn").innerHTML = "copied!";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue