Permalink
Browse files

fix and debugger

  • Loading branch information...
1 parent f6f6c3c commit 56b64685de28c20f6a49d35886b7bf38e98730d2 @twalpole committed Feb 13, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/assets/javascripts/turbolinks.js.coffee
View
3 lib/assets/javascripts/turbolinks.js.coffee
@@ -117,7 +117,7 @@ removeNoscriptTags = (node) ->
reflectNewUrl = (url) ->
if (url = new ComponentUrl url).absolute isnt referer
- console.log("pushing new url: #{url.absolute"})
+ console.log("pushing new url: #{url.absolute}")
window.history.pushState { turbolinks: true, url: url.absolute }, '', url.absolute
reflectRedirectedUrl = ->
@@ -321,6 +321,7 @@ class Click
return if @event.defaultPrevented
@_extractLink()
if @_validForTurbolinks()
+ debugger
visit @link.href unless pageChangePrevented()
@event.preventDefault()

0 comments on commit 56b6468

Please sign in to comment.