when using rails 4 turbo-links, how do you change the mouse cursor to progress when a link is clicked?
i have tried this with no success:
application.js.erb
$(function() {
$(window).ajaxStart(function() {
$(this).css({'cursor' : 'progress'});
}).ajaxStop(function() {
$(this).css({'cursor' : 'default'});
});
});
thanks!