diff --git a/js/src/positiondialogmodel.js b/js/src/positiondialogmodel.js index 8fcd7c6..a3d8d45 100644 --- a/js/src/positiondialogmodel.js +++ b/js/src/positiondialogmodel.js @@ -63,7 +63,7 @@ export default class PositionDialogModel extends ViewModel {

- +
@@ -106,9 +106,6 @@ export default class PositionDialogModel extends ViewModel { * @return {boolean} True if valid */ validate() { - if (this.model.comment === this.position.comment) { - return false; - } - return true; + return this.model.comment !== this.position.comment; } }