diff --git a/groups/new-homepage-3/homepage3-js-css.html b/groups/new-homepage-3/homepage3-js-css.html index 2652e65..f982dea 100644 --- a/groups/new-homepage-3/homepage3-js-css.html +++ b/groups/new-homepage-3/homepage3-js-css.html @@ -258,26 +258,26 @@ img { @@ -305,9 +305,9 @@ function customizeSearch(facet) { } else if (facet === "Newspapers") { document.getElementById("formToAppendInputsTo").setAttribute('action', 'https://onesearch.cuny.edu/discovery/npsearch'); } else { - console.log("no match") - }; -}; + console.log("no match"); + } +} @@ -321,12 +321,12 @@ function addPrimoQuery(e) { document.getElementById("primoQueryTemp").value = ""; document.getElementById("primoQueryTemp").setAttribute("placeholder", "Please make a selection"); return true; - }; + } // original OLS widget document.getElementById("primoQuery").value = "any,contains," + document.getElementById("primoQueryTemp").value.replace(/[,]/g, " "); /* If you changed the form name at the top, change it below to match */ - document.forms["searchPrimoForm1"].submit(); + document.forms.searchPrimoForm1.submit(); }