mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
Fix copy behaviour
This commit is contained in:
parent
bd92974182
commit
386e878f07
@ -25,7 +25,7 @@ export function setupKeybinds() {
|
|||||||
element = document.getElementById("btn_delete");
|
element = document.getElementById("btn_delete");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 67: {
|
case 66: {
|
||||||
element = document.getElementById("btn_copy");
|
element = document.getElementById("btn_copy");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
<path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" />
|
<path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" />
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<button class="button" id="btn_copy" title="Copy paste to clipboard (Ctrl + C)" disabled>
|
<button class="button" id="btn_copy" title="Copy paste to clipboard (Ctrl + B)" disabled>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clipboard" width="40" height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clipboard" width="40" height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
<path stroke="none" d="M0 0h24v24H0z"/>
|
<path stroke="none" d="M0 0h24v24H0z"/>
|
||||||
<path d="M9 5H7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2V7a2 2 0 0 0 -2 -2h-2" />
|
<path d="M9 5H7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2V7a2 2 0 0 0 -2 -2h-2" />
|
||||||
|
Loading…
Reference in New Issue
Block a user