1
0
mirror of https://github.com/Luzifer/past3.git synced 2024-09-19 08:52:59 +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) {