1
0
Fork 0

Handle stopped reading special case in javascript

This should be refactored, but maybe not today
This commit is contained in:
Mouse Reeve 2022-05-26 12:23:13 -07:00
parent 4c5d2570ab
commit 4905652e22
3 changed files with 12 additions and 3 deletions

View file

@ -203,6 +203,7 @@ let StatusCache = new (class {
.forEach((item) => (item.disabled = false));
next_identifier = next_identifier == "complete" ? "read" : next_identifier;
next_identifier = next_identifier == "stopped-reading-complete" ? "stopped-reading" : next_identifier;
// Disable the current state
button.querySelector(