From 31c1584b9a13ea0ebdb6a10da2c63e045d755626 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 30 Jun 2021 16:10:52 +0100 Subject: [PATCH] Extend $tw.utils.removeArrayEntries to return the array --- core/modules/utils/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/utils/utils.js b/core/modules/utils/utils.js index 9c29391ae..851f3efe2 100644 --- a/core/modules/utils/utils.js +++ b/core/modules/utils/utils.js @@ -223,6 +223,7 @@ exports.removeArrayEntries = function(array,value) { array.splice(p,1); } } + return array; }; /*