diff --git a/index.html b/index.html index 0c0b518f8..a003a06db 100644 --- a/index.html +++ b/index.html @@ -29,6 +29,7 @@
diff --git a/js/services/go.js b/js/services/go.js index 13fa91ba7..e48a7ba52 100644 --- a/js/services/go.js +++ b/js/services/go.js @@ -20,27 +20,16 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope, var elem = angular.element(document.querySelector('#off-canvas-wrap')); var leftbarActive = angular.element(document.getElementsByClassName('move-right')).length; - var rightbarActive = angular.element(document.getElementsByClassName('move-left')).length; if (invert) { - if (rightbarActive) { - hideSidebars(); - } - else { - if ($rootScope.iden && !$rootScope.hideNavigation) { - elem.addClass('move-right'); - } + if ($rootScope.iden && !$rootScope.hideNavigation) { + elem.addClass('move-right'); } } else { if (leftbarActive) { hideSidebars(); } - else { - if ($rootScope.iden && $rootScope.iden.getWallets().length >1) { - elem.addClass('move-left'); - } - } } };