app/javascript/blacklight/modal.js in blacklight-7.20.1 vs app/javascript/blacklight/modal.js in blacklight-7.21.0

- old
+ new

@@ -118,10 +118,10 @@ } Blacklight.modal.receiveAjax = function (contents) { // does it have a data- selector for container? // important we don't execute script tags, we shouldn't. - // code modelled off of JQuery ajax.load. https://github.com/jquery/jquery/blob/master/src/ajax/load.js?source=c#L62 + // code modelled off of JQuery ajax.load. https://github.com/jquery/jquery/blob/main/src/ajax/load.js?source=c#L62 var container = $('<div>'). append( jQuery.parseHTML(contents) ).find( Blacklight.modal.containerSelector ).first(); if (container.length !== 0) { contents = container.html(); }