Skip to content

Commit

Permalink
lint and disable lint in many html files, phetsims/chipper#1405
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 7, 2023
1 parent dd9b183 commit 221b28a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions conferences/collect-emails.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ <h1 id="display-text"></h1>
const emptyString = '';

// emails collected from a previous session
const savedEmails = JSON.parse( localStorage.getItem( EMAILS_KEY ) );
const savedBackupEmails = JSON.parse( localStorage.getItem( EMAILS_BACKUP_KEY ) );
const savedEmails = JSON.parse( window.localStorage.getItem( EMAILS_KEY ) );
const savedBackupEmails = JSON.parse( window.localStorage.getItem( EMAILS_BACKUP_KEY ) );

// get query parameters
const queryParameters = new URLSearchParams( window.location.search );
Expand Down Expand Up @@ -362,7 +362,7 @@ <h1 id="display-text"></h1>

// handle delete emails button press
document.getElementById( 'delete-emails-button' ).addEventListener( 'click', () => {
localStorage.setItem( EMAILS_KEY, null );
window.localStorage.setItem( EMAILS_KEY, null );
emailsList.innerHTML = emptyString;
appendToEmailList( noEmailsString );
} );
Expand Down Expand Up @@ -422,8 +422,8 @@ <h1 id="display-text"></h1>
// add the latest email and save
emails.push( input );
backupEmails.push( input );
localStorage.setItem( EMAILS_KEY, JSON.stringify( emails ) );
localStorage.setItem( EMAILS_BACKUP_KEY, JSON.stringify( backupEmails ) );
window.localStorage.setItem( EMAILS_KEY, JSON.stringify( emails ) );
window.localStorage.setItem( EMAILS_BACKUP_KEY, JSON.stringify( backupEmails ) );

// show a success message, clear input and placeholder
showText( successString, 'success' );
Expand Down

0 comments on commit 221b28a

Please sign in to comment.