Skip to content

Commit

Permalink
Merge pull request #153 from Qld-Health-Online-Team/release-v1.8.0
Browse files Browse the repository at this point in the history
Release v1.8.0
  • Loading branch information
manjeetk authored Aug 16, 2024
2 parents 7409820 + 0cdf0f7 commit 92cd03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/breadcrumbs/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@

i++;
}
} else if(breadCrumbsUl.offsetWidth < totalLisOffsetWidth) {
} else if(parseFloat(breadCrumbsUl.style.maxWidth.replace(/\D/g, '')) < totalLisOffsetWidth) {

insertOverFlowButton(overflowMenu, breadCrumbsUlLis[1]);
breadCrumbsUlLis[1].style.display = "none";
appendOverflow(breadCrumbsUlLis, overflowMenu, breadCrumbsUl);
i = 2;

while ((breadCrumbsUl.offsetWidth < totalLisOffsetWidth) &&
while ((parseFloat(breadCrumbsUl.style.maxWidth.replace(/\D/g, ''))< totalLisOffsetWidth) &&
(i < breadcrumbLisLength - 2)
) {

Expand Down

0 comments on commit 92cd03a

Please sign in to comment.