Skip to content

Commit f534c11

Browse files
committed
fix: filters reset to page 0
1 parent 7b80acd commit f534c11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base/library/filter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,15 @@ function mergeShiny() {
136136
function allTribeButton() {
137137
return $(`
138138
<label>
139-
<input type="checkbox" id="allTribeInput" onchange="applyFilters(); showPage(currentPage);">
139+
<input type="checkbox" id="allTribeInput" onchange="applyFilters(); showPage(0);">
140140
<img src="images/tribes/ALL.png">
141141
</label>`);
142142
}
143143

144144
function shinyButton() {
145145
return $(`
146146
<label>
147-
<input type="checkbox" id="shinyInput" onchange="applyFilters(); showPage(currentPage);">
147+
<input type="checkbox" id="shinyInput" onchange="applyFilters(); showPage(0);">
148148
<span class="rainbowText">S</span>
149149
</label>`);
150150
}

0 commit comments

Comments
 (0)