Import ClipboardJS before main.js
This commit is contained in:
parent
6e3f51fdbd
commit
c3ca8643ec
@ -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"
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script src="js/vendors.min.js"></script>
|
||||
<script src="js/angularjs-all.min.js"></script>
|
||||
<script src="js/main.min.js"></script>
|
||||
<script src="js/clipboard.min.js"></script>
|
||||
<script src="js/main.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@ angular.module('flosight')
|
||||
scope: { dataClipboardText: '=dataClipboardText' },
|
||||
template: '<div class="tooltip fade right in"><div class="tooltip-arrow"></div><div class="tooltip-inner">Copied!</div></div>',
|
||||
link: function(scope, elm) {
|
||||
var clip = new ClipboardJS('.btn-copy', {
|
||||
var clip = new ClipboardJS(elm, {
|
||||
text: scope.dataClipboardText
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user