Remove duplicate block
This commit is contained in:
parent
8289c48896
commit
4ff3692606
|
@ -75,10 +75,6 @@ function syncSelectInputUntilChanged(syncData, parentSelector = document) {
|
||||||
* @param {string} property - The property to retrieve the value from.
|
* @param {string} property - The property to retrieve the value from.
|
||||||
*/
|
*/
|
||||||
function getValueFromProperty(sourceElement, property) {
|
function getValueFromProperty(sourceElement, property) {
|
||||||
let source =
|
|
||||||
sourceElement instanceof HTMLSelectElement
|
|
||||||
? sourceElement.selectedOptions[0]
|
|
||||||
: sourceElement;
|
|
||||||
let source =
|
let source =
|
||||||
sourceElement instanceof HTMLSelectElement
|
sourceElement instanceof HTMLSelectElement
|
||||||
? sourceElement.selectedOptions[0]
|
? sourceElement.selectedOptions[0]
|
||||||
|
|
Loading…
Reference in New Issue