code cleanup
This commit is contained in:
parent
b406a03533
commit
a3270551f9
4 changed files with 6 additions and 2 deletions
|
@ -93,8 +93,10 @@ let StatusCache = new class {
|
|||
if (response.headers.get("forceReload")) {
|
||||
BookWyrm.addRemoveClass(form, 'is-processing', true);
|
||||
trigger.setAttribute('disabled', null);
|
||||
|
||||
return location.reload();
|
||||
}
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue