@@ -369,7 +369,7 @@ document.addEventListener('DOMContentLoaded', function () {
369
369
. then ( res => {
370
370
console . log ( '[Org Check] Response status for' , org , ':' , res . status ) ;
371
371
if ( res . status === 404 ) {
372
- console . log ( '[Org Check] Organisation not found on GitHub:' , org ) ;
372
+ console . log ( '[Org Check] Organization not found on GitHub:' , org ) ;
373
373
// Remove any existing toast with the same id
374
374
const oldToast = document . getElementById ( 'invalid-org-toast' ) ;
375
375
if ( oldToast ) oldToast . parentNode . removeChild ( oldToast ) ;
@@ -387,7 +387,7 @@ document.addEventListener('DOMContentLoaded', function () {
387
387
toastDiv . style . left = '50%' ;
388
388
toastDiv . style . transform = 'translateX(-50%)' ;
389
389
toastDiv . style . zIndex = '9999' ;
390
- toastDiv . innerText = 'Organisation not found on GitHub.' ;
390
+ toastDiv . innerText = 'Organization not found on GitHub.' ;
391
391
document . body . appendChild ( toastDiv ) ;
392
392
setTimeout ( ( ) => {
393
393
if ( toastDiv . parentNode ) toastDiv . parentNode . removeChild ( toastDiv ) ;
@@ -398,14 +398,14 @@ document.addEventListener('DOMContentLoaded', function () {
398
398
// Remove any existing toast with the same id (for valid orgs)
399
399
const oldToast = document . getElementById ( 'invalid-org-toast' ) ;
400
400
if ( oldToast ) oldToast . parentNode . removeChild ( oldToast ) ;
401
- console . log ( '[Org Check] Organisation exists on GitHub:' , org ) ;
401
+ console . log ( '[Org Check] Organization exists on GitHub:' , org ) ;
402
402
// Valid org: update storage and fetch data
403
403
chrome . storage . local . set ( { orgName : org } , function ( ) {
404
404
if ( window . generateScrumReport ) window . generateScrumReport ( ) ;
405
405
} ) ;
406
406
} )
407
407
. catch ( ( err ) => {
408
- console . log ( '[Org Check] Error validating organisation :' , org , err ) ;
408
+ console . log ( '[Org Check] Error validating organization :' , org , err ) ;
409
409
// Remove any existing toast with the same id
410
410
const oldToast = document . getElementById ( 'invalid-org-toast' ) ;
411
411
if ( oldToast ) oldToast . parentNode . removeChild ( oldToast ) ;
@@ -423,7 +423,7 @@ document.addEventListener('DOMContentLoaded', function () {
423
423
toastDiv . style . left = '50%' ;
424
424
toastDiv . style . transform = 'translateX(-50%)' ;
425
425
toastDiv . style . zIndex = '9999' ;
426
- toastDiv . innerText = 'Error validating organisation .' ;
426
+ toastDiv . innerText = 'Error validating organization .' ;
427
427
document . body . appendChild ( toastDiv ) ;
428
428
setTimeout ( ( ) => {
429
429
if ( toastDiv . parentNode ) toastDiv . parentNode . removeChild ( toastDiv ) ;
0 commit comments