MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / close

Function close

ui/media/js/image-modal.js:135–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 }
134
135 const close = () => {
136 clear()
137 modalElem.classList.remove("active")
138 document.body.style.overflow = "initial"
139 }
140
141 /**
142 * @param {() => (string | ImageModalRequest) | string | ImageModalRequest} optionsFactory

Callers 2

initFunction · 0.85
image-modal.jsFile · 0.85

Calls 1

clearFunction · 0.85

Tested by

no test coverage detected