From cfa3af51db3085aae8244763314247539eca44d9 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 17 Jul 2019 12:46:14 +0200 Subject: [PATCH] storage.js: Don't return in `StorageAwareMap.forEach` --- public/js/icinga/storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/icinga/storage.js b/public/js/icinga/storage.js index 1d0e374bb..6447a3a74 100644 --- a/public/js/icinga/storage.js +++ b/public/js/icinga/storage.js @@ -1,6 +1,6 @@ /*! Icinga Web 2 | (c) 2019 Icinga GmbH | GPLv2+ */ -;(function (Icinga) { +;(function(Icinga) { 'use strict'; @@ -434,7 +434,7 @@ thisArg = this; } - return this.data.forEach(function(value, key) { + this.data.forEach(function(value, key) { callback.call(thisArg, value['value'], key); }); },