fixes one-page

This commit is contained in:
Matias Alejo Garcia 2015-04-23 14:37:44 -03:00
commit 4f60626710
7 changed files with 13 additions and 15 deletions

View file

@ -21,7 +21,7 @@ angular.module('copayApp.controllers').controller('topbarController', function($
}, 100);
alert('Scanning error');
});
go.send();
$scope.$emit('Local/SetTab', 'send');
};
var modalOpenScanner = function() {
@ -79,7 +79,7 @@ angular.module('copayApp.controllers').controller('topbarController', function($
$scope.init = function() {
setScanner();
$timeout(function() {
go.send();
$scope.$emit('Local/SetTab', 'send');
canvas = document.getElementById('qr-canvas');
context = canvas.getContext('2d');