From 516181acf21a995f2ca851a699e00394833ad99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 9 Dec 2019 16:21:48 +0000 Subject: [PATCH] fix buttons for no contacts --- www/common/common-ui-elements.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index fb60f2751..2596ea82c 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1030,7 +1030,7 @@ define([ name: Messages.login_register, onClick: function () { common.setLoginRedirect(function () { - common.openURL('/login/'); + common.gotoURL('/register/'); }); } }, { @@ -1038,7 +1038,7 @@ define([ name: Messages.login_login, onClick: function () { common.setLoginRedirect(function () { - common.openURL('/register/'); + common.gotoURL('/login/'); }); } }