mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-02 11:29:41 +00:00
JS corrections in ChillPersonBundle required by ESLint
This commit is contained in:
@@ -37,7 +37,7 @@ const onSubmit = function(e) {
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', function(e) {
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
let forms = document.querySelectorAll('.quickLocationForm');
|
||||
|
||||
console.log(forms);
|
||||
|
@@ -16,7 +16,7 @@ window.addEventListener('DOMContentLoaded', function() {
|
||||
load_event: null,
|
||||
froms: [entitySelector],
|
||||
container: [personContainer],
|
||||
test: function(froms, event) {
|
||||
test: function(froms) {
|
||||
for (let container of froms) {
|
||||
return container.querySelector('input[value="person"]').checked;
|
||||
}
|
||||
@@ -30,7 +30,7 @@ window.addEventListener('DOMContentLoaded', function() {
|
||||
load_event: null,
|
||||
froms: [entitySelector],
|
||||
container: [thirdpartyContainer],
|
||||
test: function(froms, event) {
|
||||
test: function(froms) {
|
||||
for (let container of froms) {
|
||||
return container.querySelector('input[value="thirdparty"]').checked;
|
||||
}
|
||||
@@ -44,7 +44,7 @@ window.addEventListener('DOMContentLoaded', function() {
|
||||
load_event: null,
|
||||
froms: [entitySelector],
|
||||
container: [freetextContainer],
|
||||
test: function(froms, event) {
|
||||
test: function(froms) {
|
||||
for (let container of froms) {
|
||||
return container.querySelector('input[value="freetext"]').checked;
|
||||
}
|
||||
|
Reference in New Issue
Block a user