v0.5.86: place matches summary below the pager.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-3
@@ -3864,15 +3864,15 @@ function renderMatchesPage() {
|
||||
function buildMatchesFoot(summaryText, page, pageCount, onGo) {
|
||||
const foot = document.createElement("div");
|
||||
foot.className = "matches-foot";
|
||||
if (pageCount > 1) {
|
||||
foot.appendChild(buildMatchesPager(page, pageCount, onGo));
|
||||
}
|
||||
if (summaryText) {
|
||||
const summary = document.createElement("p");
|
||||
summary.className = "matches-foot-summary";
|
||||
summary.textContent = summaryText;
|
||||
foot.appendChild(summary);
|
||||
}
|
||||
if (pageCount > 1) {
|
||||
foot.appendChild(buildMatchesPager(page, pageCount, onGo));
|
||||
}
|
||||
return foot;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user