[CSP] Prevent use of unsafe-inline for links
* Also update all <a> tags in locals
This commit is contained in:
@@ -32,4 +32,7 @@ $.jstree.defaults.core.worker = false;
|
||||
// See https://github.com/rails/jquery-ujs/issues/456 for details
|
||||
$(document).on('turbolinks:load', function(){
|
||||
$.rails.refreshCSRFTokens();
|
||||
$('.reloadCurrentPage').on('click', function() {
|
||||
window.location.reload();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user