app/assets/javascripts/decidim/admin.js in decidim-admin-0.0.1.alpha4 vs app/assets/javascripts/decidim/admin.js in decidim-admin-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() { + $(function(){ $(document).foundation(); }); +}); -//= require turbolinks