Skip to content

Commit

Permalink
fix #165 cannot edit raw domain
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Sep 30, 2019
1 parent 9275da6 commit a76fb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/dialogs/MappingDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class MappingDialog extends ADialog {
}

{
this.forEach(`.${cssClass('dialog-mapper-details')} input[type=number]`, (d: HTMLInputElement, i) => d.onchange = () => {
this.forEach(`#${this.idPrefix}min, #${this.idPrefix}max`, (d: HTMLInputElement, i) => d.onchange = () => {
const v = d.valueAsNumber;
if (v === this.rawDomain[i]) {
d.setCustomValidity('');
Expand Down

0 comments on commit a76fb23

Please sign in to comment.