Skip to content

Commit 46c344b

Browse files
committed
fix: hot_reload: reverse breadcrumb arr
Was creating with inverted order. Signed-off-by: Jorge Marques <[email protected]>
1 parent 81ef143 commit 46c344b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adi_doctools/theme/cosmic/scripts/hot_reload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class HotReload {
3939
this.$.breadcrumb.classList.add('empty')
4040
else
4141
this.$.breadcrumb.classList.remove('empty')
42-
arr.forEach((elem) => {
42+
arr.reverse().forEach((elem) => {
4343
ol.appendChild(new DOM('li').append(
4444
new DOM('a', {
4545
'href': elem.href,

0 commit comments

Comments
 (0)