Procházet zdrojové kódy

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

Torkel Ödegaard před 8 roky
rodič
revize
3e3cef28ec
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 = [];