Commit 3e3cef28 by Torkel Ödegaard

fix: undefined is not an object evaluating this., #9538

parent 43d45f9f
...@@ -21,7 +21,7 @@ export class Timer { ...@@ -21,7 +21,7 @@ export class Timer {
} }
cancelAll() { cancelAll() {
_.each(this.timers, function (t) { _.each(this.timers, t => {
this.$timeout.cancel(t); this.$timeout.cancel(t);
}); });
this.timers = []; this.timers = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment