From: XhmikosR Date: Mon, 9 Nov 2020 18:47:33 +0000 (+0200) Subject: modal.html: use `textContent` (#32101) X-Git-Tag: v5.0.0-alpha3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411fc649f236248244e19b49a1aeb43cc8ddfbca;p=thirdparty%2Fbootstrap.git modal.html: use `textContent` (#32101) We are not handling any HTML --- 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' } }