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
Hide Comment Changes
Previous Change (CTRL+↑)
Next Change (CTRL+↓)
Expand Context Lines
Collapse Context Lines
Hide Minimap (CTRL+M)
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
Files
1
src
sync.js
Loading