in frontend/janus.js [229:239]
updateHrefDurations = function(duration, shortTerm) {
const selector = ".federation__link--" + (shortTerm ? "short" : "standard");
document.querySelectorAll(selector).forEach(function(link) {
const hasDuration = link.href.indexOf("duration=") !== -1;
if (hasDuration) {
link.href = link.href.replace(/duration=[^&]*/, "duration=" + duration);
} else {
link.href = link.href + "&duration=" + duration;
}
});
};