templates/app_files/app/assets/javascripts/application.js in cybele-2.0.0 vs templates/app_files/app/assets/javascripts/application.js in cybele-2.1.0

- old
+ new

@@ -46,17 +46,10 @@ Turbolinks.visit(this.action + (this.action.indexOf('?') === -1 ? '?' : '&') + $(this).serialize()); return false; }); }; -$(document).on('turbolinks:load', function () { - ready(); - var script = document.createElement("script"); - script.src = "https://use.fontawesome.com/releases/v5.0.1/js/all.js"; - document.head.appendChild(script); -}); - -document.addEventListener("turbolinks:load", ready) +document.addEventListener("turbolinks:load", ready); $(window).on('page:load', ready); $(document).on('page:fetch', function() { NProgress.start();