Skip to content

Commit

Permalink
try removing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Apr 29, 2024
1 parent 72e1f4c commit 57e3520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/js/extending.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ $(document).on('click', '.actionPromptButton', ev => {

if( existingFestivityTag !== '' ) {
rowStr = FormControls.CreatePatronRow( existingFestivityTag );
rowStr = rowStr.replaceAll(' ','');
rowStr = rowStr.replace(/(?:\r\n|\r|\n)/g,'');
console.log(rowStr);
$row = $( `${rowStr}` );
console.log($row);
Expand All @@ -692,6 +694,8 @@ $(document).on('click', '.actionPromptButton', ev => {
}
} else {
rowStr = FormControls.CreatePatronRow();
rowStr = rowStr.replaceAll(' ','');
rowStr = rowStr.replace(/(?:\r\n|\r|\n)/g,'');
$row = $( `${rowStr}` );
}
$('.regionalNationalDataForm').append($row);
Expand Down

0 comments on commit 57e3520

Please sign in to comment.