Skip to content

Commit

Permalink
PR to disable Turbolinks just in case. (publiclab#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito authored and Souravirus committed Mar 12, 2018
1 parent c8dfbe4 commit 793c817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
//= require short-code-forms/dist/short-code-prompts.js
//= require wikis.js
//= require chart.js/dist/Chart.js
//= require turbolinks
// require turbolinks // Temporarily removed while fixing
//= require google_analytics.js

2 changes: 1 addition & 1 deletion app/assets/javascripts/google_analytics.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(document).on("turbolinks:load", function() {
$(document).on("ready turbolinks:load", function() {
if (typeof ga == "function"){
ga("set", "location", event.data.url)
ga("send", "pageview")
Expand Down

0 comments on commit 793c817

Please sign in to comment.