min icomment run thru

This commit is contained in:
Gavyn Ezell 2022-12-04 18:32:15 -08:00
parent a1499013dc
commit aad4f70304
3 changed files with 2 additions and 4 deletions

View File

@ -212,7 +212,7 @@ function setupUpdate() {
updateDiv.classList.add("hidden"); updateDiv.classList.add("hidden");
}) })
//Take formdata values as newData when submit //Take form data values as newData when submit
form.addEventListener("submit", function () { form.addEventListener("submit", function () {
/* /*
* User submits the form for their review. * User submits the form for their review.

View File

@ -32,8 +32,6 @@ function initFormHandler() {
let searchBtn = document.getElementById("search-btn"); let searchBtn = document.getElementById("search-btn");
let searchTag = null; let searchTag = null;
//adding search functionality //adding search functionality
//TODO: Add ability to enter without refresh of search bar
//filter by selected tag when button clicked
searchBtn.addEventListener("click", function () { searchBtn.addEventListener("click", function () {
searchTag = searchField.value; searchTag = searchField.value;
sortAndFilter(searchTag); sortAndFilter(searchTag);
@ -145,6 +143,7 @@ function loadReviews(index, reviewIDs) {
} }
} }
//setting up service worker
const registerServiceWorker = async () => { const registerServiceWorker = async () => {
if ("serviceWorker" in navigator) { if ("serviceWorker" in navigator) {
try { try {

View File

@ -15,7 +15,6 @@ describe("test App end to end", async () => {
root = false; root = false;
} }
//browser = await puppeteer.launch({headless: false, slowMo: 250, args: root ? ['--no-sandbox'] : undefined});
browser = await puppeteer.launch({ args: root ? ["--no-sandbox"] : undefined }); browser = await puppeteer.launch({ args: root ? ["--no-sandbox"] : undefined });
page = await browser.newPage(); page = await browser.newPage();
try { try {