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

Function setAttr

deployments/desktop/static/desktop.js:1263–1266  ·  view source on GitHub ↗
(selector, attr, value)

Source from the content-addressed store, hash-verified

1261 }
1262
1263 function setAttr(selector, attr, value) {
1264 const element = document.querySelector(selector);
1265 if (element) element.setAttribute(attr, value);
1266 }
1267
1268 function updatePageTitle() {
1269 const viewId = state.currentView || document.querySelector(".view.active")?.id || "papers";

Callers 1

applyLocaleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected