fix exception in list.renderView() introduced by adding debouncer.run()
Use arrow function to keep "this" at the same value it has in render().
This commit is contained in:
parent
141c8b798e
commit
2fca4b49fe
|
@ -407,7 +407,7 @@ export class ListView extends View {
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
this.debouncer.run(this.renderView);
|
this.debouncer.run(() => { this.renderView(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
renderView () {
|
renderView () {
|
||||||
|
|
Loading…
Reference in New Issue