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

Method restoreLocation

ChatGPT/src-tauri/src/scripts/export.js:267–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265 document.body.style.lineHeight = "0.5";
266 }
267 restoreLocation() {
268 this.hiddens.forEach((el) => {
269 el.classList.add("overflow-hidden");
270 });
271 this.spacer.style.display = null;
272 this.thread.style.maxWidth = null;
273 this.thread.style.marginInline = null;
274 this.positionForm.style.display = null;
275 this.scroller.classList.add("h-full");
276 this.scroller.style.minHeight = null;
277 this.images.forEach((img) => {
278 const srcset = img.getAttribute("srcset_old");
279 img.setAttribute("srcset", srcset);
280 img.setAttribute("srcset_old", "");
281 });
282 document.body.style.lineHeight = null;
283 }
284 }
285
286 function setIcon(type) {

Callers 1

downloadThreadFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected