From e7dba784a82fb2c7c5bcf4c5f75df1875b9af9d6 Mon Sep 17 00:00:00 2001 From: btangmu Date: Thu, 22 Aug 2024 17:41:08 -0700 Subject: [PATCH] CLDR-17572 Move LR marker div below star -Move the LR marker div below the i-star icon, simply by moving the call to checkLRmarker a few lines lower -Also remove a comment in the same file about appendExample which is no longer true, and remove the export for appendExample which is no longer needed --- tools/cldr-apps/js/src/esm/cldrTable.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/cldr-apps/js/src/esm/cldrTable.mjs b/tools/cldr-apps/js/src/esm/cldrTable.mjs index 178b28a9cd6..94006a25211 100644 --- a/tools/cldr-apps/js/src/esm/cldrTable.mjs +++ b/tools/cldr-apps/js/src/esm/cldrTable.mjs @@ -1031,9 +1031,6 @@ function addVitem(td, tr, theRow, item, newButton) { subSpan.className = "subSpan"; cldrVote.appendItem(subSpan, displayValue, item.pClass); choiceField.appendChild(subSpan); - - checkLRmarker(choiceField, item.value); - if (item.isBaselineValue == true) { cldrDom.appendIcon( choiceField, @@ -1041,6 +1038,7 @@ function addVitem(td, tr, theRow, item, newButton) { cldrText.get("voteInfo_baseline_desc") ); } + checkLRmarker(choiceField, item.value); if (item.votes && !isWinner) { if ( item.valueHash == theRow.voteVhash && @@ -1185,7 +1183,6 @@ function appendExampleIcon(parent, text, loc) { return el; } -// caution: this is called from other modules as well as by appendExampleIcon function appendExample(parent, text, loc) { const el = document.createElement("div"); el.className = "d-example well well-sm"; @@ -1429,7 +1426,6 @@ function resetLastShown() { export { NO_WINNING_VALUE, EMPTY_ELEMENT_VALUE, - appendExample, getPageUrl, getRowApprovalStatusClass, getStatusIcon,