Marcus Geduld

Results 16 comments of Marcus Geduld

Hi. I have addressed all the issues and also refactored the code to be better organized. One thing: I still need that ts-ignore. Using null as the final arg still...

Okay. Thanks. I made that (this.plugin) change.

Thanks. I have made all the above changes.

The reason I used find was because that array doesn't just contain the page-number buttons. It also contains the next and previous buttons. ``` this.pageButtons.push({ button: previousButton, listener: previousButtonListener, });...

Okay. I went ahead and simplified it: ``` private findButton(page: number): HTMLElement | undefined { return this.pageButtons[page]?.button; } ```

Oh. I didn't notice it had been merged. Okay. Next update will have this simplification. Thanks.