MCPcopy Create free account
hub / github.com/BruceDevices/firmware / syncScrolling

Function syncScrolling

embedded_resources/web_interface/index.js:333–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331}
332
333function syncScrolling() {
334 const textarea = $(".dialog.editor .file-content");
335 const lineNumbers = $(".dialog.editor .line-numbers");
336
337 if (!textarea || !lineNumbers) return;
338
339 lineNumbers.scrollTop = textarea.scrollTop;
340}
341
342function renderFileRow(fileList) {
343 $("table.explorer tbody").innerHTML = "";

Callers 1

index.jsFile · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected