diff --git a/package.json b/package.json index 25a47f4..4866371 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flosight-ui", "description": "An open-source frontend for the Flosight API. The Flosight API provides you with a convenient, powerful and simple way to query and broadcast data on the florincoin network and build your own services with it.", - "version": "5.0.0-beta.67", + "version": "5.0.0-beta.68", "repository": "git://github.com/bitpay/flosight-ui.git", "bugs": { "url": "https://github.com/bitpay/flosight-ui/issues" diff --git a/public/index-template.html b/public/index-template.html index a62e549..56de3a7 100644 --- a/public/index-template.html +++ b/public/index-template.html @@ -69,7 +69,7 @@ - + diff --git a/public/src/js/directives.js b/public/src/js/directives.js index a5b0c54..e669df2 100644 --- a/public/src/js/directives.js +++ b/public/src/js/directives.js @@ -46,7 +46,7 @@ angular.module('flosight') scope: { dataClipboardText: '=dataClipboardText' }, template: '
Copied!
', link: function(scope, elm) { - var clip = new ClipboardJS('.btn-copy', { + var clip = new ClipboardJS(elm, { text: scope.dataClipboardText });