From 4ff3692606beb48f16f8e8ccb64c7f8faa231e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 30 Nov 2023 18:05:52 +0100 Subject: [PATCH] Remove duplicate block --- games/static/js/utils.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/games/static/js/utils.js b/games/static/js/utils.js index df49497..5fc119f 100644 --- a/games/static/js/utils.js +++ b/games/static/js/utils.js @@ -75,10 +75,6 @@ function syncSelectInputUntilChanged(syncData, parentSelector = document) { * @param {string} property - The property to retrieve the value from. */ function getValueFromProperty(sourceElement, property) { - let source = - sourceElement instanceof HTMLSelectElement - ? sourceElement.selectedOptions[0] - : sourceElement; let source = sourceElement instanceof HTMLSelectElement ? sourceElement.selectedOptions[0]