Update anchor.js

pull/552/head
Anton 2 years ago committed by GitHub
parent 129757a12d
commit 2199ba4648
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>'); var anchorEl = jQuery('</a>');
$a.attr(tagAttributes).text(innerText === null ? data : innerText); anchorEl.attr(tagAttributes).text(innerText === null ? data : innerText);
return $a[0].outerText; return anchorEl[0].outerText;
}; };
}; };

Loading…
Cancel
Save