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:
parent
dceb5d2430
commit
74290c0647
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue