buttonPrevHTML: ”,
};
function adaptBreadcrumbs() {
let breadcrumbs = document.querySelectorAll(‘#header-breadcrumbs’);
for(i = 0; i < breadcrumbs.length; i++) {
let title = breadcrumbs[i].querySelector(‘.breadcrumbs-title’);
let btns = breadcrumbs[i].querySelector(‘.btn-container:last-child’);
if(btns && btns.children && btns.children.length) {
if(parseInt(title.getBoundingClientRect().top + title.getBoundingClientRect().height / 2) == parseInt(btns.getBoundingClientRect().top + btns.getBoundingClientRect().height / 2)) {
title.style=”flex-grow:1;”;
} else {
title.style=”flex-grow:0;”;
}
} else {
title.style=”flex-grow:1;”;
}
}
}
window.addEventListener(‘resize’, adaptBreadcrumbs);
document.addEventListener(‘DOMContentLoaded’, adaptBreadcrumbs);
The Canadian dollar slipped 0.16% to about 1.38 per US dollar, pressured by a stronger greenback and easing geopolitical tensions. Hopes for a ceasefire in the Middle East pushed oil prices lower, undermining support for the commodity-linked loonie. Sentiment was further dampened by domestic data showing Canadian employment grew by just 14.1K, missing forecasts, while the jobless rate held at 6.7%, pointing to a softening labor market.
