]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
modal.html: use `textContent` (#32101)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 9 Nov 2020 18:47:33 +0000 (20:47 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Nov 2020 18:47:33 +0000 (20:47 +0200)
We are not handling any HTML

js/tests/visual/modal.html

index 13e93d154f1016c0b7c0a6c90bb82309cf1f1e39..3c1e37cfda94557affe2044bc13b37f5ed938f20 100644 (file)
       function reportFirefoxTestResult(result) {
         if (!firefoxTestDone) {
           ffBugTestResult.classList.add(result ? 'text-success' : 'text-danger')
-          ffBugTestResult.innerHTML = result ? 'PASS' : 'FAIL'
+          ffBugTestResult.textContent = result ? 'PASS' : 'FAIL'
         }
       }