Skip to content

Commit

Permalink
fix(tutorials.js): improve error message when encoding cannot be rend…
Browse files Browse the repository at this point in the history
…ered

As mentioned by @KristinaRichts and @krHERO ,
the current error message when an encoding cannot be rendered in the tutorials
was misleading ("Please adjust your encoding …").
  • Loading branch information
musicEnfanthen committed Jun 18, 2020
1 parent 1715a0f commit d059c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mei-tutorials.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ function renderVerovio(validationString) {

if (error) {
// display message
document.getElementById('rendering').innerHTML = 'please adjust encoding to enable rendering';
document.getElementById('rendering').innerHTML = 'The current encoding cannot be rendered.';
} else {
// display svg
document.getElementById('rendering').innerHTML = svg;
Expand Down

0 comments on commit d059c88

Please sign in to comment.