From 5cd539eaff05de59bc9ae21292a3ed72e87390e1 Mon Sep 17 00:00:00 2001 From: "dr.dimitru" Date: Sat, 12 Oct 2019 16:12:08 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix=20#66,=20thanks=20to=20@argg?= =?UTF-8?q?h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/route.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/route.js b/client/route.js index d4025e1..45079d9 100644 --- a/client/route.js +++ b/client/route.js @@ -288,7 +288,7 @@ class Route { }); whileWaitingAction(); - wait(0); + wait(12); } else if (_resources) { whileWaitingAction(); getResources(); @@ -300,16 +300,14 @@ class Route { } callAction(current) { + this._endWaiting && this._endWaiting(); if (this._data) { if (this._onNoData && !this._currentData) { - this._endWaiting && this._endWaiting(); this._onNoData(current.params, current.queryParams); } else { - this._endWaiting && this._endWaiting(); this._action(current.params, current.queryParams, this._currentData); } } else { - this._endWaiting && this._endWaiting(); this._action(current.params, current.queryParams, this._currentData); } }