Skip to content

Commit ea191e5

Browse files
committed
custom.js: Add missing chevron in breadcrumbs
1 parent 76b8888 commit ea191e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/js/custom.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ $(document).ready(function() {
156156
}
157157
});
158158
}
159+
if ('›' != category.text().trim().slice(-1)) {
160+
category.append('<span class="aa-suggestion-title-separator" aria-hidden="true"> › </span>');
161+
}
159162
const displayedText = $(element).find('.algolia-docsearch-suggestion--text');
160163
if (displayedText.length && displayedText.text() == searchedText+'…') {
161164
displayedText.remove();

0 commit comments

Comments
 (0)