Reworking assets

This commit is contained in:
Jonny Barnes 2019-07-13 18:05:50 +01:00
parent 1e546f00b1
commit 30f9b0f557
201 changed files with 434 additions and 14696 deletions

11
resources/es6-orig/select-place.js vendored Normal file
View file

@ -0,0 +1,11 @@
//select-place.js
export default function selectPlaceInForm(uri) {
if (document.querySelector('select')) {
if (uri == 'current-location') {
document.querySelector('select [id="option-coords"]').selected = true;
} else {
document.querySelector('select [value="' + uri + '"]').selected = true;
}
}
}