matrix-js-sdk
9fb03856
- Fix calling addEventListener if it does not exist
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 years ago
Fix calling addEventListener if it does not exist Some platforms (e.g. React Native) register global.window, but do not have global.window.addEventListener. In this case, this function should not be called.
References
#1661 - Fix calling addEventListener if it does not exist
Author
janpawellek
Parents
f1e1daa1
Loading