MCPcopy Create free account
hub / github.com/NsLearning/LangHelper / zoomDefault

Function zoomDefault

ChatGPT/src-tauri/src/scripts/core.js:160–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }, 2500);
159 }
160 function zoomDefault() {
161 const htmlZoom = window.localStorage.getItem("htmlZoom");
162 if (htmlZoom) {
163 document.getElementsByTagName("html")[0].style.zoom = htmlZoom;
164 }
165 }
166 function zoomIn() {
167 zoom((htmlZoom) => `${Math.min(parseInt(htmlZoom) + 10, 200)}%`);
168 }

Callers 1

coreZoomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected