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]