0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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