diff --git a/dataRender/anchor.js b/dataRender/anchor.js index 0d8af55..a3659a9 100644 --- a/dataRender/anchor.js +++ b/dataRender/anchor.js @@ -69,9 +69,9 @@ jQuery.fn.dataTable.render.anchor = function ( } } - var $a = jQuery(''); - $a.attr(tagAttributes).text(innerText === null ? data : innerText); + var anchorEl = jQuery(''); + anchorEl.attr(tagAttributes).text(innerText === null ? data : innerText); - return $a[0].outerText; + return anchorEl[0].outerText; }; };