Remove return value since there isn't one

pull/196/head
Cory LaViska 2020-08-28 06:53:22 -04:00
rodzic f0ba06e6ec
commit e16ad458ee
2 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -176,15 +176,13 @@ export class Input {
end: number,
selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'
) {
const returnValue = this.input.setRangeText(replacement, start, end, selectMode);
this.input.setRangeText(replacement, start, end, selectMode);
if (this.value !== this.input.value) {
this.value = this.input.value;
this.slChange.emit();
this.slInput.emit();
}
return returnValue;
}
handleChange() {

Wyświetl plik

@ -154,7 +154,7 @@ export class Textarea {
end: number,
selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'
) {
const returnValue = this.textarea.setRangeText(replacement, start, end, selectMode);
this.textarea.setRangeText(replacement, start, end, selectMode);
if (this.value !== this.textarea.value) {
this.value = this.textarea.value;
@ -162,8 +162,6 @@ export class Textarea {
this.slChange.emit();
this.slInput.emit();
}
return returnValue;
}
handleChange() {