MCPcopy Create free account
hub / github.com/32comic/image2pixel-web / updateButtonStates

Function updateButtonStates

web/js/main.js:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35// Initialize
36function updateButtonStates() {
37 const hasImage = processedImage !== null;
38 saveButton.disabled = !hasImage;
39 printButton.disabled = !hasImage;
40}
41
42updateButtonStates();
43

Callers 2

main.jsFile · 0.85
processImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected