From bfd36bc0e1a653cd5622dfe33c481ea92e7e1440 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 5 Sep 2023 09:38:07 +0200 Subject: [PATCH] Do not reset icon list on icon choice cf #1302 --- umap/static/umap/js/umap.forms.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/umap/static/umap/js/umap.forms.js b/umap/static/umap/js/umap.forms.js index 130398a2..415597d5 100644 --- a/umap/static/umap/js/umap.forms.js +++ b/umap/static/umap/js/umap.forms.js @@ -590,8 +590,6 @@ L.FormBuilder.IconUrl = L.FormBuilder.BlurInput.extend({ this.sync() this.unselectAll(this.pictogramsContainer) L.DomUtil.addClass(container, 'selected') - this.pictogramsContainer.innerHTML = '' - this.udpatePreview() }, this )