Skip to content

Commit

Permalink
Revert "Fixed missing pagination buttons icon"
Browse files Browse the repository at this point in the history
This reverts commit 92190d5.
  • Loading branch information
Etheryte committed Oct 8, 2024
1 parent ca14be0 commit f72efa4
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,9 @@ public static void renderPaginationLinks(PageContext pageContext,
for (String linkNameIn : linkNames) {
String[] linkData = links.get(linkNameIn);
ListTagUtil.write(pageContext, "<button ");
ListTagUtil.write(pageContext, "class=\"btn btn-default btn-xs");
ListTagUtil.write(pageContext, "class=\"btn btn-default btn-xs ");
ListTagUtil.write(pageContext, linkData[0]);

// if the link is disabled...
if (linkData[1] == null) {
ListTagUtil.write(pageContext, " disabled");
Expand All @@ -563,11 +565,7 @@ public static void renderPaginationLinks(PageContext pageContext,
}
ListTagUtil.write(pageContext, "\" title=\"");
ListTagUtil.write(pageContext, linkData[3]);
ListTagUtil.write(pageContext, "\">");
ListTagUtil.write(pageContext, "<i class=\"");
ListTagUtil.write(pageContext, linkData[0]);
ListTagUtil.write(pageContext, "\"></i>");
ListTagUtil.write(pageContext, "</button>");
ListTagUtil.write(pageContext, "\"></button>");
}
ListTagUtil.write(pageContext, "</div>");
}
Expand Down

0 comments on commit f72efa4

Please sign in to comment.