From 67a55af8f8c1c813b67c216dbb279c406a4b6f27 Mon Sep 17 00:00:00 2001 From: andrewpmontgomery <30696422+andrewpmontgomery@users.noreply.github.com> Date: Wed, 18 Oct 2017 13:56:51 +0100 Subject: [PATCH] Update clientsidescripts.js --- lib/clientsidescripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clientsidescripts.js b/lib/clientsidescripts.js index dd7fb230e..0ca82744a 100644 --- a/lib/clientsidescripts.js +++ b/lib/clientsidescripts.js @@ -178,7 +178,7 @@ functions.waitForAngular = function(rootSelector, callback) { } catch(e){} if (testability) { - return testability.whenStable(testCallback); + return testability.whenStable(function() { testCallback(); }); } }