mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
small null ref fix
This commit is contained in:
parent
7d01f6fe8b
commit
d4a7718f05
|
|
@ -928,7 +928,8 @@ function mktemp(is_dir) {
|
|||
sendit(input.value);
|
||||
// Chrome blurs elements when calling remove for some reason
|
||||
input.onblur = null;
|
||||
row.remove();
|
||||
if(row)
|
||||
row.remove();
|
||||
};
|
||||
input.onkeydown = function(e) {
|
||||
if (e.key == "Enter")
|
||||
|
|
|
|||
Loading…
Reference in a new issue