Skip to content

Commit

Permalink
logo and finish
Browse files Browse the repository at this point in the history
  • Loading branch information
TomConner committed Nov 23, 2023
1 parent ed3b23f commit ba1506d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions generator/static/js/register-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ window.addEventListener("load", (event) => {
await fetch('/api/v1/lookups', {method: "POST"})
.then((response) => response.text())
.then((lookup_code) => {
lookup_code = lookup_code.trim
lookup_code = lookup_code.trim();
console.log(`new lookup code is ${lookup_code}`);
setLocalItem("lookup", lookup_code);
loadOrderForm();
Expand Down Expand Up @@ -231,7 +231,8 @@ window.addEventListener("load", (event) => {

//TODO height of frame

case
case 'navigate':
window.location.assign(event.data.location);

default:
console.debug(`message from ${event.origin}:`);
Expand Down

0 comments on commit ba1506d

Please sign in to comment.