small null ref fix

This commit is contained in:
Til Schmitter 2026-06-03 21:54:19 +02:00
parent 7d01f6fe8b
commit d4a7718f05

View file

@ -928,6 +928,7 @@ function mktemp(is_dir) {
sendit(input.value); sendit(input.value);
// Chrome blurs elements when calling remove for some reason // Chrome blurs elements when calling remove for some reason
input.onblur = null; input.onblur = null;
if(row)
row.remove(); row.remove();
}; };
input.onkeydown = function(e) { input.onkeydown = function(e) {