Skip to content

Commit 5a70951

Browse files
committed
Temporarily Disables Changing Page Size Automatically
See https://twitter.com/csfloatcom/status/1724684828388610091
1 parent 203c69c commit 5a70951

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/components/market/page_size.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export class PageSize extends FloatElement {
3939
// ie. "https://steamcommunity.com/market/listings/730/AK-47%20%7C%20Slate%20%28Field-Tested%29?start=100&count=100"
4040
// Steam already has a bug that pagination doesn't work when setting this.
4141
if (size && !hasQueryParameter('start')) {
42-
this.changePageSize(size);
42+
// Temporarily disable changing page size (https://twitter.com/csfloatcom/status/1724684828388610091)
43+
// this.changePageSize(size);
4344
}
4445
}
4546

@@ -50,7 +51,7 @@ export class PageSize extends FloatElement {
5051
changePageSize(newSize: number) {
5152
this.selectedSize = newSize;
5253
g_oSearchResults.m_cPageSize = newSize;
53-
g_oSearchResults.GoToPage(0, true);
54+
g_oSearchResults.GoToPage(0, false);
5455

5556
Set<number>(PAGE_SIZE, newSize);
5657
}

0 commit comments

Comments
 (0)