mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-04 20:05:29 -04:00
Limit load_progress
to @pages
This commit is contained in:
parent
f4c4bb536c
commit
4c2cf64f53
@ -141,7 +141,7 @@ class Entry
|
||||
progress = info.progress[username][@title]
|
||||
end
|
||||
end
|
||||
progress
|
||||
[progress, @pages].min
|
||||
end
|
||||
|
||||
def load_percentage(username)
|
||||
|
Loading…
x
Reference in New Issue
Block a user