Skip to content

Commit

Permalink
use the correct var names
Browse files Browse the repository at this point in the history
  • Loading branch information
schiwaa committed Jan 31, 2025
1 parent 307e9ea commit 94e1149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class StemwebFrontend {
var controlsHTML = stemwebFrontend.mapToHTMLTable( controls );
document.querySelector( '#algorithm-variants-panel' ).innerHTML = controlsHTML;
} else {
StemmawebAlert.show(`Error: ${res.message}`, 'danger');
StemmawebAlert.show(`Error: ${resp.message}`, 'danger');
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TraditionView extends HTMLElement {
} )
.catch( (error) => {
StemmawebAlert.show(
`Error during rooting of stemma: ${res.message}`,
`Error during rooting of stemma: ${resp.message}`,
'danger'
);
} );
Expand Down

0 comments on commit 94e1149

Please sign in to comment.