controller.js 486 B

1234567891011121314151617
  1. let controller = {
  2. publicStrand: document.querySelector("#publicStrand"),
  3. loginStrand: document.querySelector("#loginStrand"),
  4. posChoiceStrand: document.querySelector("#posChoiceStrand"),
  5. clearScreen: function(){
  6. this.publicStrand.style.display = "none";
  7. this.loginStrand.style.display = "none";
  8. this.posChoiceStrand.style.display = "none";
  9. }
  10. }
  11. if(error){
  12. banner.createError(error.message);
  13. error = undefined;
  14. }
  15. publicObj.display();