Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix and debugger

  • Loading branch information...
commit 56b64685de28c20f6a49d35886b7bf38e98730d2 1 parent f6f6c3c
@twalpole authored
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()
Please sign in to comment.
Something went wrong with that request. Please try again.