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);
Futures tracking Canada’s benchmark stock index rose on Tuesday, supported by easing oil prices and a pullback in global bond yields. Crude declined as steady Middle Eastern exports and the G7’s release of emergency reserves alleviated supply concerns, tempering energy-driven inflation risks. Bond yields retreated from multi-year highs, offering some relief to credit-sensitive markets. Gold prices recovered from earlier losses, bolstering mining shares. In corporate news, Jamieson Wellness received final court approval for its planned acquisition by Kirin Holdings. On the data front, Canada’s merchandise trade surplus widened in August to its largest level in four years, as U.S. buyers accelerated orders ahead of new tariffs that took effect at the end of the month.
