HTML5-Comic-Book-Reader
HTML5-Comic-Book-Reader copied to clipboard
Changing reading direction on the first page make it so you cannot change pages at all.
On the first and last page, only one of the "change page" buttons are drawn.
However, the buttons are not re-drawn when you change from left-right to right-left mode, so if you immediately change the mode, the button you need to actually go to the next page is disabled, and you are stuck.
A (hacky) fix for this is to just insert a self.drawPage(); call in the toggleReadingMode() function.