From 73eb42c0bae5d4dac7b99b1c78cb4b4817e55d32 Mon Sep 17 00:00:00 2001 From: gnosygnu Date: Thu, 3 Oct 2019 06:30:22 -0400 Subject: [PATCH] Score: Clean-up test [#577] --- 400_xowa/src/gplx/xowa/xtns/scores/Score_html_fxt.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/400_xowa/src/gplx/xowa/xtns/scores/Score_html_fxt.java b/400_xowa/src/gplx/xowa/xtns/scores/Score_html_fxt.java index e2dd7a25a..768c0a3b1 100644 --- a/400_xowa/src/gplx/xowa/xtns/scores/Score_html_fxt.java +++ b/400_xowa/src/gplx/xowa/xtns/scores/Score_html_fxt.java @@ -45,8 +45,12 @@ class Score_html_fxt { return "\\relative c' { f d f a d f e d cis a cis e a g f e }"; } public String Basic__html(boolean dir_has_value) { - String img_id = hdump && dir_has_value ? "xoimg_0" : "xowa_score_0_img"; - String img_atrs = hdump && dir_has_value ? " alt=\"\"" : " src=\"\" "; + String img_id = "xowa_score_0_img"; + String img_atrs = " src=\"\" "; + if (hdump && dir_has_value) { // mode is hload + img_id = "xoimg_0"; + img_atrs = " alt=\"\""; + } return String_.Concat_lines_nl ( "" , "
"