app/assets/javascripts/decidim/system.js in decidim-system-0.0.1.alpha4 vs app/assets/javascripts/decidim/system.js in decidim-system-0.0.1.alpha5

- old
+ new

@@ -9,13 +9,14 @@ // // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details // about supported directives. // //= require jquery -//= require jquery.turbolinks //= require jquery_ujs //= require foundation +//= require turbolinks //= require_self -$(function(){ $(document).foundation(); }); +$(document).on("turbolinks:load", function() { + $(document).foundation(); +}); -//= require turbolinks