diff --git a/static/js/market.js b/static/js/market.js index 55e0218..f56abbb 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -575,6 +575,9 @@ const market = async () => { window.history.pushState({}, '', url) // this.activePage = page }, + copyUrl: function () { + this.copyText(window.location) + }, copyText: function (text) { var notify = this.$q.notify Quasar.utils.copyToClipboard(text).then(function () { diff --git a/templates/nostrmarket/market.html b/templates/nostrmarket/market.html index 1e72809..efd0043 100644 --- a/templates/nostrmarket/market.html +++ b/templates/nostrmarket/market.html @@ -73,35 +73,46 @@