mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2025-09-10 00:27:20 +00:00
fix linting in js
This commit is contained in:
@@ -3,10 +3,10 @@ import { newReviewToStorage } from "./localStorage.js";
|
||||
window.addEventListener("DOMContentLoaded", init);
|
||||
|
||||
function init() {
|
||||
// get next id
|
||||
// get next id
|
||||
|
||||
// creates the key
|
||||
initFormHandler();
|
||||
// creates the key
|
||||
initFormHandler();
|
||||
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ function initFormHandler() {
|
||||
let nextReviewId = newReviewToStorage(reviewObject);
|
||||
sessionStorage.setItem("currID", JSON.stringify(nextReviewId));
|
||||
|
||||
window.location.assign('./ReviewDetails.html');
|
||||
window.location.assign("./ReviewDetails.html");
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user