forked from mirrors/bookwyrm
Linter fixes
This commit is contained in:
parent
a13d3317c6
commit
ccdfaa3187
1 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,9 @@ let StatusCache = new class {
|
|||
if (!trigger) {
|
||||
trigger = event.currentTarget.querySelector("button[type=submit]");
|
||||
}
|
||||
// this allows the form to submit in the old fashioned way if there's a problem
|
||||
|
||||
// This allows the form to submit in the old fashioned way if there's a problem
|
||||
|
||||
if (!trigger || !form) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue