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

Use textContent instead of innerText. (#30462)

It's supported by all of our supported browsers.
This commit is contained in:
XhmikosR
2020-03-29 09:53:57 +03:00
committed by GitHub
parent dec3ea6a7f
commit ed94976ea8
3 changed files with 3 additions and 4 deletions

View File

@@ -913,7 +913,7 @@ describe('Tooltip', () => {
tooltip.setElementContent(tooltip.getTipElement(), 'test')
expect(tooltip.getTipElement().innerText).toEqual('test')
expect(tooltip.getTipElement().textContent).toEqual('test')
})
})