Skip to content

Add location caching#36

Open
jbassendine wants to merge 1 commit into
homtec:masterfrom
jbassendine:cache-location
Open

Add location caching#36
jbassendine wants to merge 1 commit into
homtec:masterfrom
jbassendine:cache-location

Conversation

@jbassendine

Copy link
Copy Markdown

Should resolve #8 issue. Location cached through unload event, then recalled in the initialization function. If no location is found in local storage, startloc defaults back to Berlin.

Tested in Mobile Firefox and Chrome, and desktop in IE 11, Firefox and Chrome.

Hope that's alright!

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.

Cache position

1 participant