diff --git a/js/controllers/join.js b/js/controllers/join.js index d926fb47b..beae1eb14 100644 --- a/js/controllers/join.js +++ b/js/controllers/join.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('copayApp.controllers').controller('JoinController', - function($scope, $rootScope, $timeout, $location, walletFactory, controllerUtils, Passphrase, notification) { + function($scope, $rootScope, $timeout, walletFactory, controllerUtils, Passphrase, notification) { controllerUtils.redirIfLogged(); $rootScope.fromSetup = false; $scope.loading = false; @@ -15,10 +15,7 @@ angular.module('copayApp.controllers').controller('JoinController', var context; var localMediaStream; - var s = ($location.search()).advanced; - if (s) { - $scope.enterPrivate = true; - } + $scope.hideAdv=true; diff --git a/views/join.html b/views/join.html index 20cbad630..b9a987e2a 100644 --- a/views/join.html +++ b/views/join.html @@ -67,17 +67,28 @@ name="joinPasswordConfirm" ng-model="joinPasswordConfirm" match="joinPassword" required> - - + + Show + Hide + advanced options + +
+ +