diff --git a/_pages/rankings.html b/_pages/rankings.html index 39e5659..873fe20 100644 --- a/_pages/rankings.html +++ b/_pages/rankings.html @@ -406,7 +406,7 @@
${this.profileTitle(item)}
} renderStocks() { - const toolbarItemCount = Math.min(Math.floor((screen.availWidth - 50) / 85) - 1, maxToolbarItems); + const toolbarItemCount = Math.min(Math.floor((screen.availWidth - 50) / 85) - 1, StockToolbar.maxToolbarItems); const staticitems = this.stocks.slice(0, toolbarItemCount); const selectedDropDown = (this.selectedStockItem == null || staticitems.findIndex(o => o.symbol == this.selectedStockItem.symbol) > -1)? null : this.selectedStockItem; return html`