mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
refactor further modules to not rely on html injection
This commit is contained in:
@@ -34,7 +34,7 @@ export function uiCommitWarnings(context) {
|
||||
|
||||
containerEnter
|
||||
.append('h3')
|
||||
.html(severity === 'warning' ? t.html('commit.warnings') : t.html('commit.errors'));
|
||||
.call(severity === 'warning' ? t.append('commit.warnings') : t.append('commit.errors'));
|
||||
|
||||
containerEnter
|
||||
.append('ul')
|
||||
|
||||
Reference in New Issue
Block a user