1
0
Fork 0
mirror of https://github.com/Luzifer/past3.git synced 2024-11-09 16:30:01 +00:00

Fix: Select file URL on click

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-09-24 22:33:20 +02:00
parent dceb5d2430
commit 74290c0647
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

2
app.js
View file

@ -165,7 +165,7 @@ function init() {
$('#deleteFile').bind('click', () => deleteFile($('#filename').val()))
$('#file-url').bind('click', () => $(this).select())
$('#file-url').bind('click', (e) => $(e.target).select())
$(window).bind('hashchange', () => {
if (window.location.hash.length > 1) {