Skip to content

Conversation

kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek commented Dec 20, 2017

Fixes #1159 but with less code. window.location is always accessible if document.location is, but it's not true another way around, eg. in Service Workers

@kamilogorek kamilogorek requested a review from a team December 20, 2017 14:28
@kamilogorek kamilogorek changed the title ref: Access window.location first before trying document.location ref: Access window.location instead of document.location Dec 20, 2017
@kamilogorek kamilogorek merged commit b48b830 into master Jan 10, 2018
@kamilogorek kamilogorek deleted the location-source branch January 10, 2018 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants