From 8029fff73e69101ac5fb5a515772ac0663c4c725 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Wed, 12 Apr 2023 15:33:48 +0000 Subject: [PATCH] Deepsource 2 --- gallery/static/js/popup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gallery/static/js/popup.js b/gallery/static/js/popup.js index 70506fd..bda748c 100644 --- a/gallery/static/js/popup.js +++ b/gallery/static/js/popup.js @@ -25,8 +25,7 @@ function popUpShow(titleText, subtitleText, bodyContent=null, userActions=null) if (userActions) { // for each user action, add the element for (let i = 0; i < userActions.length; i++) { - let action = userActions[i]; - actionsSelector.appendChild(action); + actionsSelector.appendChild(userActions[i]); } } else { actionsSelector.innerHTML = '';