mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-30 00:00:43 -04:00
Limit load_progress to @pages
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ class Entry
|
|||||||
progress = info.progress[username][@title]
|
progress = info.progress[username][@title]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
progress
|
[progress, @pages].min
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_percentage(username)
|
def load_percentage(username)
|
||||||
|
|||||||
Reference in New Issue
Block a user