Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-09 21:47:33 +0300
committerGitHub <noreply@github.com>2020-11-09 21:47:33 +0300
commit411fc649f236248244e19b49a1aeb43cc8ddfbca (patch)
tree9f0fc420b6589004d1ac581aecace20ab9cfea58 /js
parent1d86fcee7b81bbae0b53b24e85847b3adfc3c57c (diff)
modal.html: use `textContent` (#32101)
We are not handling any HTML
Diffstat (limited to 'js')
-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 13e93d154f..3c1e37cfda 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'
}
}