From 129757a12dd47afa0d9ce1892ca5233f014983c8 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 13 Sep 2022 19:30:13 +0300 Subject: [PATCH] Update anchor.js --- dataRender/anchor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dataRender/anchor.js b/dataRender/anchor.js index 58b7510..0d8af55 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).get(0).outerText; + var $a = jQuery(''); + $a.attr(tagAttributes).text(innerText === null ? data : innerText); - return $a[0]; + return $a[0].outerText; }; };