assignment to undeclared variable val
In lufi-down.js, val
is never declared when we're trying to retrieve the value of the password, throwing an uncaught error.
I suggest to just use $('#file_pwd').val();
directly in the window.ws.send
message without using a variable at all. (Or if you really want a variable, just add a const/let/var
keyword before initializing it)
The error happens lines 58, 176 and 202.
Thanks!