From 2fca4b49fe3992ade332035c61aa4d5398a12b0f Mon Sep 17 00:00:00 2001 From: Oliver Gerlich Date: Thu, 19 Jul 2018 21:46:35 +0200 Subject: [PATCH] fix exception in list.renderView() introduced by adding debouncer.run() Use arrow function to keep "this" at the same value it has in render(). --- webroot/js/view/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/js/view/list.js b/webroot/js/view/list.js index e48f4ec..0f4eb45 100644 --- a/webroot/js/view/list.js +++ b/webroot/js/view/list.js @@ -407,7 +407,7 @@ export class ListView extends View { } render () { - this.debouncer.run(this.renderView); + this.debouncer.run(() => { this.renderView(); }); } renderView () {