Merge branch 'test' into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Gerard 2019-03-08 08:04:20 +01:00
commit 759cca3989
2 changed files with 1 additions and 6 deletions

View File

@ -55,7 +55,7 @@ export default class InputNumber extends Textfield {
if ((this.validate() !== undefined && !this.validate()) ||
(this.max && this.value > this.max) ||
(this.min && this.value < this.min) ||
(this.step && this.value % this.step != 0))
(this.displayControls && (this.step && this.value % this.step != 0)))
this.$element[0].querySelector('.infix').classList.add('invalid', 'validated');

View File

@ -18,11 +18,6 @@ class Controller {
this.filter = {hasVisible: true, isActive: true};
}
$postLink() {
if (this.filter)
this.onSearch(this.filter);
}
stopEvent(event) {
event.preventDefault();
event.stopImmediatePropagation();