Better formatting
This commit is contained in:
parent
c4354a1380
commit
9573c3b8ff
@ -75,6 +75,10 @@ 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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user