Explorar el Código

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

Torkel Ödegaard hace 8 años
padre
commit
3e3cef28ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/app/core/services/timer.ts

+ 1 - 1
public/app/core/services/timer.ts

@@ -21,7 +21,7 @@ export class Timer {
   }
 
   cancelAll() {
-    _.each(this.timers, function (t) {
+    _.each(this.timers, t => {
       this.$timeout.cancel(t);
     });
     this.timers = [];