Permalink
Browse files

Merge pull request #337 from pborreli/patch-1

Fixed typo
  • Loading branch information...
reed committed Feb 3, 2014
2 parents 174ef17 + 47e46b4 commit edff68c8016e310d54e47cb7b5d2cc5e7d1fefa2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/assets/javascripts/turbolinks.js.coffee
@@ -35,7 +35,7 @@ fetchReplacement = (url, onLoadFunction = =>) ->
xhr?.abort()
xhr = new XMLHttpRequest
- xhr.open 'GET', removeHashForIE10compatiblity(url), true
+ xhr.open 'GET', removeHashForIE10compatibility(url), true
xhr.setRequestHeader 'Accept', 'text/html, application/xhtml+xml, application/xml'
xhr.setRequestHeader 'X-XHR-Referer', referer
@@ -141,7 +141,7 @@ resetScrollPosition = ->
# Intention revealing function alias
-removeHashForIE10compatiblity = (url) ->
+removeHashForIE10compatibility = (url) ->
removeHash url
removeHash = (url) ->

0 comments on commit edff68c

Please sign in to comment.