Update anchor.js

pull/552/head
Anton 2 years ago committed by GitHub
parent f31fba3d75
commit 129757a12d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,9 +69,9 @@ jQuery.fn.dataTable.render.anchor = function (
} }
} }
var $a = jQuery('<a></a>'); var $a = jQuery('</a>');
$a.attr(tagAttributes).text(innerText === null ? data : innerText).get(0).outerText; $a.attr(tagAttributes).text(innerText === null ? data : innerText);
return $a[0]; return $a[0].outerText;
}; };
}; };

Loading…
Cancel
Save