MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / updateQuickToolsState

Function updateQuickToolsState

src/handlers/quickToolsInit.js:384–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382}
383
384function updateQuickToolsState() {
385 const { $footer } = quickTools;
386
387 if (editorManager.activeFile?.isUnsaved) {
388 $footer.setAttribute("data-unsaved", "true");
389 } else {
390 $footer.removeAttribute("data-unsaved");
391 }
392
393 updateHistoryButtons();
394}
395
396function updateHistoryButtons() {
397 const { editor, activeFile } = editorManager;

Callers

nothing calls this directly

Calls 1

updateHistoryButtonsFunction · 0.85

Tested by

no test coverage detected