mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
- make the page parameter in the reader view the same as the page number in books
This commit is contained in:
@@ -99,8 +99,7 @@ class Title
|
||||
page / entry_obj.pages
|
||||
end
|
||||
def load_percetage(username)
|
||||
read_pages = 0
|
||||
total_pages = 0
|
||||
read_pages = total_pages = 0
|
||||
@entries.each do |e|
|
||||
read_pages += load_progress username, e.title
|
||||
total_pages += e.pages
|
||||
|
||||
Reference in New Issue
Block a user