fix disable video options

This commit is contained in:
Matias Alejo Garcia 2014-06-27 17:09:12 -03:00
parent 1d45e0fc5d
commit fd6a2c19b2
3 changed files with 3 additions and 4 deletions

View File

@ -118,6 +118,6 @@ var defaultConfig = {
// theme list
themes: ['default'],
disableVideo: 1,
disableVideo: true,
verbose: 1,
};

View File

@ -851,7 +851,7 @@
<fieldset>
<legend>Videoconferencing</legend>
<input id="disableVideo-opt" type="checkbox" ng-model="disableVideo" class="form-control">
<label for="disableVideo-opt">Enable videoconferencing (only for fast Networks)</label>
<label for="disableVideo-opt">Disable videoconferencing (for slow networks)</label>
</fieldset>
<fieldset>
<legend>Insight API server</legend>

View File

@ -44,8 +44,7 @@ angular.module('copayApp.services')
root.installStartupHandlers = function(wallet, $scope) {
wallet.on('serverError', function(msg) {
notification.error('PeerJS Error', 'There was an error connecting to the PeerJS server.'
+ (msg || 'Check you settings and Internet connection.'));
notification.error('PeerJS Error', 'There was an error connecting to the PeerJS server.' + (msg || 'Check you settings and Internet connection.'));
root.onErrorDigest($scope);
$location.path('addresses');
});