comparison client/src/components/fairway/AvailableFairwayDepthLNWL.vue @ 3484:a303a746e471

afdLNWL: increase debounce to prevent update errors
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 27 May 2019 16:20:35 +0200
parents 879a85aea8a5
children e6673f35d5d1
comparison
equal deleted inserted replaced
3483:879a85aea8a5 3484:a303a746e471
136 ] 136 ]
137 } 137 }
138 }; 138 };
139 }, 139 },
140 created() { 140 created() {
141 window.addEventListener("resize", debounce(this.drawDiagram), 100); 141 window.addEventListener("resize", debounce(this.drawDiagram), 200);
142 }, 142 },
143 mounted() { 143 mounted() {
144 this.drawDiagram(); 144 this.drawDiagram();
145 this.templates[0] = this.defaultTemplate; 145 this.templates[0] = this.defaultTemplate;
146 this.form.template = this.templates[0]; 146 this.form.template = this.templates[0];