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

Comment changes are shownComment changes are hidden
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
  • src
    • File
      sync.js