fix coinbase

This commit is contained in:
Matias Alejo Garcia 2016-06-01 16:46:01 -03:00
commit 91826d9d59
No known key found for this signature in database
GPG key ID: 02470DB551277AB3

View file

@ -1,14 +1,14 @@
'use strict';
angular.module('copayApp.controllers').controller('coinbaseController',
function($rootScope, $scope, $timeout, $modal, profileService, configService, storageService, coinbaseService, animationService, lodash, nodeWebkit) {
function($rootScope, $scope, $timeout, $modal, profileService, configService, storageService, coinbaseService, animationService, lodash, platformInfo) {
var isChromeApp = platformInfo.isChromeApp;
var isNW = platformInfo.isNW;
window.ignoreMobilePause = true;
this.openAuthenticateWindow = function() {
var oauthUrl = this.getAuthenticateUrl();
if (!nodeWebkit.isDefined()) {
if (!isNW) {
$rootScope.openExternalLink(oauthUrl, '_system');
} else {
var self = this;