Skip to content

Commit 484752d

Browse files
fix: set type button for edit filter icons
Co-authored-by: Yohan Boniface <[email protected]>
1 parent 15c81d1 commit 484752d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

umap/static/umap/css/form.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ select[multiple="multiple"] {
9999
}
100100

101101
.button,
102-
[type="button"],
102+
[type="button"]:not(.icon),
103103
input[type="submit"] {
104104
display: flex;
105105
align-items: center;

umap/static/umap/js/modules/filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default class Filters {
107107
}
108108
const label = `
109109
<span>${Utils.escapeHTML(this.defined.get(name).label || field.key)}
110-
<button class="icon icon-16 icon-edit show-on-edit" data-ref=editFilter></button>
110+
<button type="button" class="icon icon-16 icon-edit show-on-edit" data-ref=editFilter></button>
111111
</span>`
112112
formFields.push([
113113
`selected.${name}`,

0 commit comments

Comments
 (0)