aboutsummaryrefslogtreecommitdiff
path: root/public/js/Input.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/Input.js')
-rw-r--r--public/js/Input.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/Input.js b/public/js/Input.js
index 0ebbbbb..854e5d1 100644
--- a/public/js/Input.js
+++ b/public/js/Input.js
@@ -11,7 +11,7 @@ class InputToggler{
11 this.submit_elem = this.parent.querySelector(options.submit_selector || `#${name}_submit`); 11 this.submit_elem = this.parent.querySelector(options.submit_selector || `#${name}_submit`);
12 this.cancel_elem = this.parent.querySelector(options.cancel_selector || `#${name}_cancel`); 12 this.cancel_elem = this.parent.querySelector(options.cancel_selector || `#${name}_cancel`);
13 13
14 // balises à ne pas gérer (fonctionne mais inutilisé pour l'instant) 14 // balises à ne pas gérer
15 this.ignored_tags = { 15 this.ignored_tags = {
16 has_content: options.has_content !== false, // => true sauf si le paramètre vaut false 16 has_content: options.has_content !== false, // => true sauf si le paramètre vaut false
17 has_input: options.has_input !== false, 17 has_input: options.has_input !== false,
@@ -42,7 +42,7 @@ class InputToggler{
42 42
43 43
44// enfants 44// enfants
45class InputText extends InputToggler{ 45class InputText extends InputToggler{ // pour input type text ou url
46 constructor(name, options = {}){ 46 constructor(name, options = {}){
47 super(name, options); 47 super(name, options);
48 this.fetcher = new Fetcher({ 48 this.fetcher = new Fetcher({