MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / updateAutoImportListVisibility

Function updateAutoImportListVisibility

Script/FastDork.js:489–507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

487 }
488 }
489 function updateAutoImportListVisibility() {
490 if (
491 UI.autoImportListRow &&
492 UI.autoImportCheckbox &&
493 UI.autoImportResultList
494 ) {
495 UI.autoImportListRow.style.display = "block";
496
497 if (
498 UI.autoImportCheckbox.checked &&
499 UI.autoImportResultList.value === "0"
500 ) {
501 setFieldError(UI.autoImportResultList, true);
502 } else {
503 setFieldError(UI.autoImportResultList, false);
504 }
505 validateDorkOptionsModal();
506 }
507 }
508 function syncActiveTabHeight() {
509 const contentContainer = document.getElementById("icetab-content");
510 if (!contentContainer) return;

Callers 1

handleGoButtonClickFunction · 0.85

Calls 2

setFieldErrorFunction · 0.85
validateDorkOptionsModalFunction · 0.85

Tested by

no test coverage detected