feat: Kopierschaltfläche von der linken Navigationsleiste in die pspdf-kit Symbolleiste verschoben.
This commit is contained in:
@@ -57,14 +57,6 @@
|
||||
<div class="dd-card-preview">
|
||||
<h6 class="uppercase">Digital Data</h6>
|
||||
<h2>signFlow</h2>
|
||||
@if (isReadOnly)
|
||||
{
|
||||
<button type="button" id="btn-copy">
|
||||
<span class="material-symbols-outlined">
|
||||
content_copy
|
||||
</span>
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
<div class="dd-card-info">
|
||||
<div class="logo">
|
||||
@@ -201,19 +193,6 @@
|
||||
});
|
||||
</script>
|
||||
}
|
||||
else
|
||||
{
|
||||
<script nonce="@nonce">
|
||||
document.getElementById('btn-copy').addEventListener('click', function () {
|
||||
const url = window.location.href;
|
||||
navigator.clipboard.writeText(url).then(function () {
|
||||
bsNotify('Kopiert', { alert_type: 'success', delay: 4, icon_name: 'check_circle' });
|
||||
}).catch(function (err) {
|
||||
bsNotify('Unerwarteter Fehler', { alert_type: 'danger', delay: 4, icon_name: 'error' });
|
||||
});
|
||||
});
|
||||
</script>
|
||||
}
|
||||
<script nonce="@nonce">
|
||||
const collapseNav = () => {
|
||||
document.addEventListener('click', function (event) {
|
||||
|
||||
Reference in New Issue
Block a user