Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Optimizely integration throwing a JS error in IE7 #2

Closed
ndhoule opened this issue Jun 11, 2015 · 1 comment
Closed

Optimizely integration throwing a JS error in IE7 #2

ndhoule opened this issue Jun 11, 2015 · 1 comment

Comments

@ndhoule
Copy link
Contributor

ndhoule commented Jun 11, 2015

From @neodude on March 3, 2015 3:1

We're getting JS errors, from IE7 only, originating from the analytics.js library. It looks like Optimizely.prototype.replay trying to call window.optimizely.data.state.variationNamesMap, but state in that call chain is undefined. Since Optimizely no longer supports IE7 as of Oct '14, I'm assuming the Optimizely object state is being partially initialized.

I'm happy to do a PR with a simple null check on state (in addition to the null check on data), but I wonder if you guys have any better ideas?

(Also, not sure if you guys are supporting IE7 - can't find the browser support info.)

Copied from original issue: segmentio/analytics.js-integrations#549

@hankim813
Copy link
Contributor

hankim813 commented Apr 18, 2016

closed due to inactivity, please reopen if still an issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants