From 378322a5211e4071d38a6469b639b717b0c939a2 Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Thu, 11 Jan 2018 17:08:47 +0100 Subject: [PATCH] Don't finish the test until ChainPad settles, trying to eliminate a flicker --- www/poll/inner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/poll/inner.js b/www/poll/inner.js index 139ced8b4..ccddcef19 100644 --- a/www/poll/inner.js +++ b/www/poll/inner.js @@ -13,7 +13,6 @@ define([ '/common/diffMarked.js', '/common/sframe-common-codemirror.js', '/common/common-thumbnail.js', - '/bower_components/chainpad/chainpad.dist.js', '/common/common-interface.js', '/customize/messages.js', 'cm/lib/codemirror', @@ -43,7 +42,6 @@ define([ DiffMd, SframeCM, Thumb, - ChainPad, UI, Messages, CMeditor, @@ -1110,6 +1108,8 @@ define([ }).nThen(function (waitFor) { $('#cp-app-poll-create-user').click(); setTimeout(waitFor()); + }).nThen(function (waitFor) { + APP.rt.realtime.onSettle(waitFor()); }).nThen(function (/*waitFor*/) { passIfOk(t); });