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