From 7e9f9e28ead96fc74837d5fdcda0aae243f080da Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Fri, 19 Dec 2014 17:02:54 +0100 Subject: [PATCH] Do not auto show settings when not connected or in authorizing phase. --- static/js/directives/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/settings.js b/static/js/directives/settings.js index 0dd5f217..1fb5107f 100644 --- a/static/js/directives/settings.js +++ b/static/js/directives/settings.js @@ -146,7 +146,7 @@ define(['jquery', 'underscore', 'text!partials/settings.html'], function($, _, t }); $scope.maybeShowSettings = function() { - if ($scope.autoshowSettings) { + if ($scope.autoshowSettings && mediaStream.connector.connected && !appData.authorizing()) { $scope.autoshowSettings = false; if (!$scope.loadedUser) { $scope.layout.settings = true;