From 8f30b4edb964691ea30a034aaf02e25a17a252ef Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 11 Aug 2018 09:56:58 -0500 Subject: [PATCH] fix page size math ref #329 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 36de3ccaa..b328dba80 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -68,7 +68,7 @@ export class Home extends React.Component, IHomeState> { updatePageSize() { this.setState({ - pageSize: Math.floor(window.innerHeight - (window.innerWidth > 540 ? 361 : 320) / 52) + pageSize: Math.floor((window.innerHeight - (window.innerWidth > 540 ? 361 : 320)) / 52) }); }