matrix-js-sdk
9fb03856 - Fix calling addEventListener if it does not exist

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.
Author
Parents
Loading