logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 206226d2ff6553cd55cb0d0955a2fbb43980a924
parent 0bb4f7af0e15b07e1e3791caf4215d82d2ac6354
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  9 Dec 2020 12:49:45 +0100

sorttable.js: Remove `delete row_array` (UndefinedBehavior)

Diffstat:

Mjavascript/sorttable.js1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/javascript/sorttable.js b/javascript/sorttable.js @@ -70,7 +70,6 @@ sorttable = { row_array.sort().reverse(); tb = tr.sorttable_tbody; row_array.forEach(function(row) { tb.appendChild(row[1]); }); - delete row_array; tr.classList.add('sorttable_sorted'); } },