change global to window

feature/default_network_editable
Kevin Serrano 7 years ago
parent 2f135c2e68
commit e64c64a049
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
  1. 2
      ui/app/reducers.js

@ -44,7 +44,7 @@ function rootReducer (state, action) {
window.logState = function () { window.logState = function () {
let state = window.METAMASK_CACHED_LOG_STATE let state = window.METAMASK_CACHED_LOG_STATE
const version = global.platform.getVersion() const version = global.platform.getVersion()
const browser = global.navigator.userAgent() const browser = window.navigator.userAgent()
const platform = global.platform.getPlatformInfo() const platform = global.platform.getPlatformInfo()
state.version = version state.version = version
state.platform = platform state.platform = platform

Loading…
Cancel
Save