Skip to content

Commit 88fb159

Browse files
committed
Merge pull request google#2878 from google/jpmedley-patch-1
Fixes google#2877
2 parents 97634a3 + d9061af commit 88fb159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/en/updates/posts/2016/04/geolocation-on-secure-contexts-only.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ a non-secure content issue is to look for the string "Only secure origins are al
105105

106106
{% highlight javascript %}
107107
navigator.geolocation.getCurrentPosition(function(success) { /* Do some magic. */ },
108-
function(faiure) {
108+
function(failure) {
109109
if(failure.message.indexOf("Only secure origins are allowed") == 0) {
110110
// Secure Origin issue.
111111
}

0 commit comments

Comments
 (0)