Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala authored Feb 15, 2024
1 parent 8e17983 commit 01abe48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/legacy/LeftAndMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -1508,10 +1508,10 @@ $.entwine('ss', function($) {
});
});

function decodeEntities(str) {
const ta = document.createElement('textarea');
ta.innerHTML = str;
return ta.innerText;
function decodeEntities(text) {
const textarea = document.createElement('textarea');
textarea.innerHTML = text;
return textarea.innerText;
}

var statusMessage = function(text, type) {
Expand Down

0 comments on commit 01abe48

Please sign in to comment.