mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-10 23:02:47 +02:00
Merge pull request #24
fix(transactions:action-bar): sum button not copying correctly
This commit is contained in:
@@ -118,16 +118,15 @@
|
|||||||
put amountValues.length into #calc-menu-count's innerText
|
put amountValues.length into #calc-menu-count's innerText
|
||||||
end"
|
end"
|
||||||
>
|
>
|
||||||
<button class="btn btn-secondary btn-sm">
|
<button class="btn btn-secondary btn-sm" _="on click
|
||||||
<i class="fa-solid fa-plus fa-fw me-2 text-primary"></i>
|
set original_value to #real-total-front's innerText
|
||||||
<span id="real-total-front"
|
writeText(original_value) on navigator.clipboard
|
||||||
_="on click
|
put '{% translate "copied!" %}' into #real-total-front's innerText
|
||||||
set original_value to my innerText
|
|
||||||
writeText(my innerText) on navigator.clipboard
|
|
||||||
put '{% translate "copied!" %}' into me
|
|
||||||
wait 1s
|
wait 1s
|
||||||
put original_value into me
|
put original_value into #real-total-front's innerText
|
||||||
end">0</span>
|
end">
|
||||||
|
<i class="fa-solid fa-plus fa-fw me-2 text-primary"></i>
|
||||||
|
<span id="real-total-front">0</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split"
|
<button type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split"
|
||||||
data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
|
data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
|
||||||
|
|||||||
Reference in New Issue
Block a user