aboutsummaryrefslogtreecommitdiff
path: root/js/tests/visual
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-09 20:47:33 +0200
committerGitHub <[email protected]>2020-11-09 20:47:33 +0200
commit411fc649f236248244e19b49a1aeb43cc8ddfbca (patch)
tree9f0fc420b6589004d1ac581aecace20ab9cfea58 /js/tests/visual
parent1d86fcee7b81bbae0b53b24e85847b3adfc3c57c (diff)
downloadbootstrap-411fc649f236248244e19b49a1aeb43cc8ddfbca.tar.xz
bootstrap-411fc649f236248244e19b49a1aeb43cc8ddfbca.zip
modal.html: use `textContent` (#32101)
We are not handling any HTML
Diffstat (limited to 'js/tests/visual')
-rw-r--r--js/tests/visual/modal.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html
index 13e93d154..3c1e37cfd 100644
--- a/js/tests/visual/modal.html
+++ b/js/tests/visual/modal.html
@@ -221,7 +221,7 @@
function reportFirefoxTestResult(result) {
if (!firefoxTestDone) {
ffBugTestResult.classList.add(result ? 'text-success' : 'text-danger')
- ffBugTestResult.innerHTML = result ? 'PASS' : 'FAIL'
+ ffBugTestResult.textContent = result ? 'PASS' : 'FAIL'
}
}