replace unnecessary setting of raw "html" with "text"

This commit is contained in:
Martin Raifer
2021-11-18 17:27:38 +01:00
parent 12f546d6e6
commit 040257fd44
46 changed files with 139 additions and 137 deletions
+2 -2
View File
@@ -527,13 +527,13 @@ export function uiFieldCombo(field, context) {
}
chips.select('span')
.html(function(d) { return d.value; });
.text(function(d) { return d.value; });
chips.select('a')
.attr('href', '#')
.on('click', removeMultikey)
.attr('class', 'remove')
.html('×');
.text('×');
} else {
var isMixed = Array.isArray(tags[field.key]);
+3 -3
View File
@@ -77,7 +77,7 @@ export function uiFieldLanes(field, context) {
.append('text')
.attr('y', 40)
.attr('x', 14)
.html('▲');
.text('▲');
enter
.append('g')
@@ -85,7 +85,7 @@ export function uiFieldLanes(field, context) {
.append('text')
.attr('y', 40)
.attr('x', 14)
.html('▲▼');
.text('▲▼');
enter
.append('g')
@@ -93,7 +93,7 @@ export function uiFieldLanes(field, context) {
.append('text')
.attr('y', 40)
.attr('x', 14)
.html('▼');
.text('▼');
lane = lane