this repo has no description
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update script.js

+1 -3
+1 -3
script.js
··· 43 43 const saveBtn = document.getElementById("saveBtn"); 44 44 const cancelBtn = document.getElementById("cancelBtn"); 45 45 const openEmptyDialogBtn = document.getElementById("openEmptyDialogBtn"); 46 - const appcodeGroup = document.getElementById("appcodeGroup"); 47 46 const appcodeInput = document.getElementById("appcode"); 48 47 const modalOverlay = document.getElementById("modalOverlay"); 49 48 const searchInput =document.getElementById("searchInput"); ··· 432 431 // ====== Dialog Logic ====== 433 432 434 433 function showParamsIfPresent() { 434 + if (!dialog) return; 435 435 const params = new URLSearchParams(window.location.search); 436 436 const title = params.get("title"); 437 437 const url = params.get("url"); ··· 655 655 656 656 // Show or hide appcode input based on localStorage 657 657 const savedAppcode = localStorage.getItem("appcode"); 658 - if (!savedAppcode) appcodeGroup.style.display = "flex"; 659 - if (!appcode) appcodeGroup.style.display = "none"; 660 658 661 659 /** 662 660 * Enable or disable save button based on appcode input state.