Merge pull request #221 from Bitcoin-com/wallet/task/416
Wallet/task/416 Hotfix
This commit is contained in:
commit
882d4f1e82
1 changed files with 2 additions and 2 deletions
|
|
@ -29,10 +29,10 @@ angular.module('copayApp.services').factory('clipboardService', function ($http,
|
||||||
cb(nodeWebkitService.readFromClipboard());
|
cb(nodeWebkitService.readFromClipboard());
|
||||||
} else {
|
} else {
|
||||||
navigator.clipboard.readText()
|
navigator.clipboard.readText()
|
||||||
.then(text => {
|
.then(function (text) {
|
||||||
cb(text);
|
cb(text);
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(function (err) {
|
||||||
$log.debug("Clipboard reading is not supported in browser..");
|
$log.debug("Clipboard reading is not supported in browser..");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue