mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-22 15:08:07 +00:00
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) {
|
if (!trigger) {
|
||||||
trigger = event.currentTarget.querySelector("button[type=submit]");
|
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) {
|
if (!trigger || !form) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue