From b6001377f7b892a6826800579ae25aacf53734d7 Mon Sep 17 00:00:00 2001 From: Brian Quinn Date: Fri, 29 Sep 2017 14:47:36 +0100 Subject: [PATCH] Fixes #1817, resolves race condition in Drawer The init() function now listens out for adapt:start rather than app:dataReady. --- src/core/js/drawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/js/drawer.js b/src/core/js/drawer.js index 8baf67346..0f800a03d 100644 --- a/src/core/js/drawer.js +++ b/src/core/js/drawer.js @@ -27,7 +27,7 @@ define([ }); }; - Adapt.once('app:dataReady', function() { + Adapt.once('adapt:start', function() { init(); });