MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / updatePageTitle

Function updatePageTitle

deployments/desktop/static/desktop.js:1268–1273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1266 }
1267
1268 function updatePageTitle() {
1269 const viewId = state.currentView || document.querySelector(".view.active")?.id || "papers";
1270 const view = ui().views[viewId] || ui().views.papers;
1271 if ($("pageTitle")) $("pageTitle").textContent = view.title;
1272 if ($("pageKicker")) $("pageKicker").textContent = view.kicker;
1273 }
1274
1275 function applyLocale() {
1276 const text = ui();

Callers 2

applyLocaleFunction · 0.85
setViewFunction · 0.85

Calls 2

uiFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected