1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 06:36:33 +02:00

modal.html: use textContent (#32101)

We are not handling any HTML
This commit is contained in:
XhmikosR
2020-11-09 20:47:33 +02:00
committed by GitHub
parent 1d86fcee7b
commit 411fc649f2

View File

@@ -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'
}
}