Get eslinting working again
This commit is contained in:
parent
963baee25f
commit
ff1b767f0f
7 changed files with 55 additions and 53 deletions
|
@ -3,9 +3,9 @@
|
|||
export default function selectPlaceInForm(uri) {
|
||||
if (document.querySelector('select')) {
|
||||
if (uri == 'current-location') {
|
||||
document.querySelector('select [id="option-coords"]').selected = true
|
||||
document.querySelector('select [id="option-coords"]').selected = true;
|
||||
} else {
|
||||
document.querySelector('select [value="' + uri + '"]').selected = true
|
||||
document.querySelector('select [value="' + uri + '"]').selected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue